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.pull/753/head
parent
c79da27585
commit
f5adcfc77e
|
|
@ -1,9 +1,8 @@
|
|||
# host-metrics telegraf template.
|
||||
# Rendered at container start by telegraf-entrypoint.sh:
|
||||
# - @@HOST_TAG_BLOCK@@ -> [global_tags] host = "<HOST_TAG>" 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@@
|
||||
|
|
|
|||
Loading…
Reference in New Issue