-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Description
-test option doesn't take global_tags into consideration, only -debug does.
I have this in config:
[global_tags]
role = "web"
If I run it with:
telegraf -config /etc/telegraf/telegraf.conf -config-directory /etc/telegraf/telegraf.d -test
Output is:
> cpu,cpu=cpu0 time_guest=0,time_guest_nice=0,time_idle=221916.01,time_iowait=384.77,time_irq=0.33,time_nice=8.16,time_softirq=81154.88,time_steal=0,time_sy
stem=39475.9,time_user=260756.14 1460474740095444774
role tag is not visible, neither is host tag but if I run it with -debug:
cpu,cpu=cpu0,host=xxx,role=web time_guest=0,time_guest_nice=0,time_idle=221930.96,time_iowait=384.77,time_irq=0.33,time_nice=8.16,time_softirq=81166.33,time_steal=0,time_system=39480.63,time_user=260789.54 1460474805015248539
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels