We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-test option doesn't take global_tags into consideration, only -debug does.
-test
-debug
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
The text was updated successfully, but these errors were encountered:
Set default tags in test accumulator
28ddcd6
closes #1012
92e57ee
Successfully merging a pull request may close this issue.
-test
option doesn't take global_tags into consideration, only-debug
does.I have this in config:
If I run it with:
Output is:
role tag is not visible, neither is host tag but if I run it with
-debug
:The text was updated successfully, but these errors were encountered: