Skip to content

Commit

Permalink
remoteWrite section added for apache telegraf metric collection. (#1598)
Browse files Browse the repository at this point in the history
  • Loading branch information
npande authored and github-actions[bot] committed Oct 19, 2021
1 parent 405d37c commit ad831b0
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2082,6 +2082,49 @@ kube-prometheus-stack:
regex: (?:elasticsearch_(cluster_health_(active_(primary_shards|shards)|delayed_unassigned_shards|indices_status_code|initializing_shards|number_of_(data_nodes|nodes|pending_tasks)|relocating_shards|unassigned_shards)|clusterstats_(indices_fielddata_evictions|nodes_jvm_mem_heap_used_in_bytes)|fs_total_(free_in_bytes|total_in_bytes)|indices_(flush_(total|total_time_in_millis)|get_(exists_time_in_millis|exists_total|missing_time_in_millis|missing_total|time_in_millis|total)|indexing_delete_time_in_millis|indexing_delete_total|indexing_index_time_in_millis|indexing_index_total|merges_total_time_in_millis|search_query_time_in_millis|search_query_total|segments_fixed_bit_set_memory_in_bytes|segments_terms_memory_in_bytes|stats_primaries_(docs_count|indexing_index_time_in_millis|query_cache_cache_size|query_cache_evictions|segments_doc_values_memory_in_bytes|segments_index_writer_memory_in_bytes|segments_memory_in_bytes)|stats_total___(fielddata_memory_size_in_bytes|indexing_index_total|merges_total)|stats_total_(docs_count|fielddata_memory_size_in_bytes|flush_total_time_in_millis|indexing_delete_total|indexing_index_time_in_millis|indexing_index_total|merges_total_docs|merges_total_size_in_bytes|merges_total_time_in_millis|query_cache_evictions|refresh_total|refresh_total_time_in_millis|search_fetch_time_in_millis|search_fetch_total|search_query_time_in_millis|search_query_total|segments_fixed_bit_set_memory_in_bytes|segments_index_writer_memory_in_bytes|segments_memory_in_bytes|segments_terms_memory_in_bytes|store_size_in_bytes|translog_operations|translog_size_in_bytes))|jvm_(gc_collectors_.*_collection_time_in_millis|mem_heap_committed_in_bytes|mem_heap_used_in_bytes|mem_heap_used_percent)|os_cpu_(load_average_5m|percent)|process_open_file_descriptors|thread_pool_(analyze_completed|analyze_threads|get_rejected|search_queue)|transport_(rx_size_in_bytes|tx_size_in_bytes)))
sourceLabels: [__name__]

## Apache Telegraf Metrics
## List of Metrics are on following github page:
## https://github.com/influxdata/telegraf/tree/v1.18.2/plugins/inputs/apache
## Metrics follow following format:
## apache_BusyWorkers
## apache_BytesPerReq
## apache_BytesPerSec
## apache_CPUChildrenSystem
## apache_CPUChildrenUser
## apache_CPULoad
## apache_CPUSystem
## apache_CPUUser
## apache_DurationPerReq
## apache_IdleWorkers
## apache_Load1
## apache_Load5
## apache_Load15
## apache_ParentServerConfigGeneration
## apache_ParentServerMPMGeneration
## apache_ReqPerSec
## apache_ServerUptimeSeconds
## apache_TotalAccesses
## apache_TotalDuration
## apache_TotalkBytes
## apache_Uptime
## apache_scboard_closing
## apache_scboard_dnslookup
## apache_scboard_finishing
## apache_scboard_idle_cleanup
## apache_scboard_keepalive
## apache_scboard_logging
## apache_scboard_open
## apache_scboard_reading
## apache_scboard_sending
## apache_scboard_starting
## apache_scboard_waiting
- url: http://$(FLUENTD_METRICS_SVC).$(NAMESPACE).svc.cluster.local:9888/prometheus.metrics.apache
remoteTimeout: 5s
writeRelabelConfigs:
- action: keep
regex: (?:apache_((BusyWorkers|BytesPerReq|BytesPerSec|CPUChildrenSystem|CPUChildrenUser|CPULoad|CPUSystem|CPUUser|DurationPerReq|IdleWorkers|Load1|Load15|Load5|ParentServerConfigGeneration|ParentServerMPMGeneration|ReqPerSec|ServerUptimeSeconds|TotalAccesses|TotalDuration|TotalkBytes|Uptime)|(scboard_(closing|dnslookup|finishing|idle_cleanup|keepalive|logging|open|reading|sending|starting|waiting))))
sourceLabels: [__name__]

## Configure optional OpenTelemetry Collector in Agent mode
otelagent:
enabled: false
Expand Down

0 comments on commit ad831b0

Please sign in to comment.