telegraf
telegraf copied to clipboard
Processors are initialised twice
Relevant telegraf.conf
[[processors.regex]]
alias = "foo"
namepass = ["metric1"]
[[processors.regex.tags]]
key = "index"
pattern = "^(\\d+)\\.\\d+$"
replacement = "${1}"
result_key = "FooBar"
[[processors.regex]]
alias = "bar"
namepass = ["metric2"]
[[processors.regex.tags]]
key = "index"
pattern = "^(\\d+)\\.\\d+$"
replacement = "${1}"
result_key = "FooBar"
Logs from Telegraf
2024-11-05T13:23:12Z I! [processors.regex::foo] tags: Using explicit mode...
2024-11-05T13:23:13Z I! [processors.regex::bar] tags: Using explicit mode...
2024-11-05T13:23:13Z I! [processors.regex::foo] tags: Using explicit mode...
2024-11-05T13:23:13Z I! [processors.regex::bar] tags: Using explicit mode...
System info
Telegraf 1.32.2 (git: HEAD@160548d7)
Docker
No response
Steps to reproduce
Run telegraf, observe logs.
Expected behavior
Only single initialisation of processors.
Actual behavior
Processors executing initialisation twice.
Additional info
Might be related to skip_processors_after_aggregators, but enabling that didn't have any effect.