summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-07-03 02:41:06 -0400
committerJesse Luehrs <doy@tozt.net>2021-07-03 02:41:06 -0400
commit39b5bf2489534f41c86cd5ff2872f21e2e0a7f08 (patch)
tree9fa5da969fb8a4d975e4b62ca34176f3a8a7d7c6
parent02ebbc3e0df35693d6b13cd94bacd12899a8fc01 (diff)
downloadpuppet-tozt-39b5bf2489534f41c86cd5ff2872f21e2e0a7f08.tar.gz
puppet-tozt-39b5bf2489534f41c86cd5ff2872f21e2e0a7f08.zip
use prometheus protocol v2
some metrics aren't reported properly otherwise
-rw-r--r--modules/tick/templates/telegraf.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/tick/templates/telegraf.conf b/modules/tick/templates/telegraf.conf
index 53df792..ba9ae4a 100644
--- a/modules/tick/templates/telegraf.conf
+++ b/modules/tick/templates/telegraf.conf
@@ -13,3 +13,4 @@
[[outputs.prometheus_client]]
listen = ":9273"
expiration_interval = "5m"
+ metric_version = 2