From 58f6a618af74ac1972ff98a50319046d51007976 Mon Sep 17 00:00:00 2001 From: "telegraf-tiger[bot]" <76974415+telegraf-tiger[bot]@users.noreply.github.com> Date: Tue, 21 Dec 2021 15:37:58 -0700 Subject: [PATCH] feat: update configs (#10325) --- etc/telegraf.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/etc/telegraf.conf b/etc/telegraf.conf index c8a25e38b..549a73066 100644 --- a/etc/telegraf.conf +++ b/etc/telegraf.conf @@ -6958,6 +6958,23 @@ # ## The default location of the varnishstat binary can be overridden with: # binary = "/usr/bin/varnishstat" # +# ## Additional custom arguments for the varnishstat command +# # binary_args = ["-f", "MAIN.*"] +# +# ## The default location of the varnishadm binary can be overriden with: +# adm_binary = "/usr/bin/varnishadm" +# +# ## Custom arguments for the varnishadm command +# # adm_binary_args = [""] +# +# ## Metric version defaults to metric_version=1, use metric_version=2 for removal of nonactive vcls. +# metric_version = 1 +# +# ## Additional regexps to override builtin conversion of varnish metrics into telegraf metrics. +# ## Regexp group "_vcl" is used for extracting the VCL name. Metrics that contains nonactive VCL's are skipped. +# ## Regexp group "_field" overrides field name. Other named regexp groups are used as tags. +# # regexps = ['XCNT\.(?P<_vcl>[\w\-]*)\.(?P[\w\-.+]*)\.(?P<_field>[\w\-.+]*)\.val'] +# # ## By default, telegraf gather stats for 3 metric points. # ## Setting stats will override the defaults shown below. # ## Glob matching can be used, ie, stats = ["MAIN.*"]