influxdata / telegraf

Agent for collecting, processing, aggregating, and writing metrics, logs, and other arbitrary data.
https://influxdata.com/telegraf
MIT License
14.9k stars 5.6k forks source link

always_include_global_tags should be documented to work only with [[inputs]] #16227

Open 1tft opened 2 days ago

1tft commented 2 days ago

Relevant telegraf.conf

na

Logs from Telegraf

na

System info

Telegraf 1.32.1

Docker

No response

Steps to reproduce

na

Expected behavior

Agent documenation https://github.com/influxdata/telegraf/blob/master/docs/CONFIGURATION.md#agent should explain, that option always_include_global_tags is only working for [[inputs]] and NOT for [[outputs]]. You can set taginclude also for outputs and so we thought, that always_include_global_tags will also work here. Unfortunately there does not exist any option like always_include_global_tags for [[outputs]]

Actual behavior

na

Additional info

No response

knollet commented 2 days ago

Looking at the sourcecode, it seems to work only for inputs, not for outputs, aggregators or processors.