You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from a quick peek in the sources I noticed that technically the telegraf.influxdata.com/inputs annotation can be abused to inject a [global_tags] snippet, however this doesn't work well when the "class" configs already contain a the global_tags.
A first class feature telegraf.influxdata.com/global-tag-... feature should be able to merge the global tags from the "system" config with the tags defined by the pod annotation.
Oftentimes you don't need a brand new class. All you want is to add a common tag to all the metrics emitted by a given pod.
Proposal
equivalent to use this generated config:
(the implementation may choose to use some intermediate env vars if so desired)
The text was updated successfully, but these errors were encountered: