Skip to content

Commit

Permalink
update regex varnish remotewirte (#1779)
Browse files Browse the repository at this point in the history
  • Loading branch information
anphn-mtt authored Sep 24, 2021
1 parent df0f52d commit 2000be6
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2594,6 +2594,79 @@ kube-prometheus-stack:
regex: (?:tomcat_(connector_(bytes_(received|sent)|current_(thread_(busy|count)|threads_busy)|error_count|max_threads|max_time|processing_time|request_count)|jmx_(jvm_memory_(HeapMemoryUsage_(max|used)|NonHeapMemoryUsage_(max|used))|OperatingSystem_(FreePhysicalMemorySize|FreeSwapSpaceSize|SystemCpuLoad|TotalPhysicalMemorySize|TotalSwapSpaceSize)|Servlet_processingTime)|jvm_memory_(free|max|total)|jvm_memorypool_(bytes_(received|sent)|current_thread_count|current_threads_busy|error_count|max_threads|max_time|max|processing_time|request_count|used)))
sourceLabels: [__name__]

## Varnish Telegraf Metrics
## List of Metrics are on following github page:
## https://github.com/influxdata/telegraf/tree/master/plugins/inputs/varnish
## Metrics follow following format:
## varnish_backend_busy
## varnish_backend_conn
## varnish_backend_fail
## varnish_backend_recycle
## varnish_backend_req
## varnish_backend_retry
## varnish_backend_reuse
## varnish_backend_unhealthy
## varnish_bans
## varnish_bans_completed
## varnish_bans_deleted
## varnish_bans_dups
## varnish_bans_lurker_contention
## varnish_bans_lurker_obj_killed
## varnish_bans_lurker_tested
## varnish_bans_lurker_tests_tested
## varnish_bans_obj
## varnish_bans_obj_killed
## varnish_bans_persisted_bytes
## varnish_bans_persisted_fragmentation
## varnish_boot_*_*_bodybytes
## varnish_boot_*_*_hdrbytes
## varnish_boot_*_bereq_bodybytes
## varnish_boot_*_bereq_hdrbytes
## varnish_cache_hit
## varnish_cache_hit_grace
## varnish_cache_hitpass
## varnish_cache_miss
## varnish_client_req
## varnish_client_req_400
## varnish_client_req_417
## varnish_client_resp_500
## varnish_n_backend
## varnish_n_expired
## varnish_n_lru_nuked
## varnish_n_vcl_avail
## varnish_pools
## varnish_s0_g_bytes
## varnish_s0_g_space
## varnish_s_fetch
## varnish_s_pipe_in
## varnish_s_pipe_out
## varnish_s_req_bodybytes
## varnish_s_req_hdrbytes
## varnish_s_resp_bodybytes
## varnish_s_resp_hdrbytes
## varnish_s_sess
## varnish_sess_closed
## varnish_sess_closed_err
## varnish_sess_conn
## varnish_sess_drop
## varnish_sess_dropped
## varnish_sess_fail
## varnish_sess_queued
## varnish_thread_queue_len
## varnish_threads
## varnish_threads_created
## varnish_threads_destroyed
## varnish_threads_failed
## varnish_threads_limited
## varnish_uptime
## varnish_vmods
- url: http://$(FLUENTD_METRICS_SVC).$(NAMESPACE).svc.cluster.local:9888/prometheus.metrics.applications.varnish
remoteTimeout: 5s
writeRelabelConfigs:
- action: keep
regex: (?:varnish_(backend_(busy|conn|fail|recycle|req|retry|reuse|unhealthy)|bans_(completed|deleted|dups|lurker_(contention|obj_killed|tests_tested|tested|)|obj_killed|obj|persisted_(bytes|fragmentation))|bans|boot_.*_.*_(bodybytes|hdrbytes)|cache_(hit_grace|hitpass|miss|hit)|client_(req_400|req_417|req|resp_500)|n_(backend|expired|lru_nuked|vcl_avail)|pools|s0_g_(bytes|space)|s_(fetch|pipe_(in|out)|req_(bodybytes|hdrbytes)|resp_(bodybytes|hdrbytes)|sess)|sess_(closed_err|closed|conn|drop|dropped|fail|queued)|thread_queue_len|threads_(created|destroyed|failed|limited)|threads|uptime|vmods))
sourceLabels: [__name__]

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

0 comments on commit 2000be6

Please sign in to comment.