From f5adcfc77e31b26a5a4e319a964045dbeddb1711 Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Mon, 11 May 2026 10:45:49 +0000 Subject: [PATCH] host-metrics: remove marker mentions from template comments The entrypoint substitutes @@HOST_TAG_BLOCK@@ and @@ZFS_BLOCK@@ globally; having them inside leading comments would corrupt the rendered file. --- .../data/config/host-metrics/telegraf.conf.tpl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/stack_orchestrator/data/config/host-metrics/telegraf.conf.tpl b/stack_orchestrator/data/config/host-metrics/telegraf.conf.tpl index b7322ca3..94bf973b 100644 --- a/stack_orchestrator/data/config/host-metrics/telegraf.conf.tpl +++ b/stack_orchestrator/data/config/host-metrics/telegraf.conf.tpl @@ -1,9 +1,8 @@ # host-metrics telegraf template. -# Rendered at container start by telegraf-entrypoint.sh: -# - @@HOST_TAG_BLOCK@@ -> [global_tags] host = "" if HOST_TAG set, -# empty if unset (telegraf auto-tags with kernel hostname). -# - @@ZFS_BLOCK@@ -> [[inputs.zfs]] block if COLLECT_ZFS=true, else empty. -# All ${...} variables are resolved by telegraf's native env substitution at +# Rendered at container start by telegraf-entrypoint.sh. The entrypoint +# replaces two single-line markers in this file with TOML block fragments; +# see telegraf-entrypoint.sh for the substitution details. All ${...} +# variables are resolved by telegraf's native env substitution at # config-load time. @@HOST_TAG_BLOCK@@