fix telegraf variables in erb conf file, SC-2522

This commit is contained in:
Patrik Holmqvist 2025-03-26 09:03:55 +01:00
parent 0bcbf398ba
commit aedcc9e8d2
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -1,16 +1,16 @@
[[outputs.influxdb_v2]] [[outputs.influxdb_v2]]
urls = ["https://metrics-external-1.sunet.se:8086"] urls = ["https://metrics-external-1.sunet.se:8086"]
token = "$INFLUX2_TOKEN" token = <%= @influxdb2_token %>
organization = "$INFLUXDB2_ORG" organization = <%= @influxdb2_org %>
bucket = "$INFLUXDB2_BUCKET" bucket = <%= @influxdb2_bucket %>
insecure_skip_verify = true insecure_skip_verify = true
[outputs.influxdb_v2.tagdrop] [outputs.influxdb_v2.tagdrop]
influxdb_database = ["*"] influxdb_database = ["*"]
[[outputs.influxdb_v2]] [[outputs.influxdb_v2]]
urls = ["https://metrics-external-1.sunet.se:8086"] urls = ["https://metrics-external-1.sunet.se:8086"]
token = "$INFLUX2_TOKEN" token = <%= @influxdb2_token %>
organization = "$INFLUXDB2_ORG" organization = <%= @influxdb2_org %>
bucket = "$INFLUXDB2_BUCKET_PROXY" bucket = <%= @influxdb2_bucket %>
insecure_skip_verify = true insecure_skip_verify = true
tagexclude = ["influxdb_database"] tagexclude = ["influxdb_database"]
[outputs.influxdb_v2.tagpass] [outputs.influxdb_v2.tagpass]