From c5921c9aa4dccc29206e9fb6c8c47b6934973a48 Mon Sep 17 00:00:00 2001 From: Nathaniel Landau Date: Mon, 25 Apr 2022 11:42:02 -0400 Subject: [PATCH] increase retention of speedtest data --- templates/telegraf/speedtest.conf.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/templates/telegraf/speedtest.conf.j2 b/templates/telegraf/speedtest.conf.j2 index 70b3448..420a985 100644 --- a/templates/telegraf/speedtest.conf.j2 +++ b/templates/telegraf/speedtest.conf.j2 @@ -4,3 +4,9 @@ timeout = "1m" name_suffix = "_speedtest" data_format = "influx" + +[[outputs.influxdb]] + urls = ["http://influxdb.service.consul:{{ influxdb_port }}"] + database = "homelab" + retention_policy = "1month" + namepass = ["*_speedtest"]