-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
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
Req: Ability to Not Have Local Hostname in Outputs #848
Comments
I'm going to close this because it's basically a dupe of #706, if users could filter out any tag, then they could filter the hostname tag out of all of their metrics. |
..IF users could filter - which we don't and anyway, adding a tag then filtering it out is a waste of resources and makes configuration more complicated. |
okay, fair enough, I'll keep this issue open |
sparrc
added a commit
that referenced
this issue
Mar 21, 2016
sparrc
added a commit
that referenced
this issue
Mar 21, 2016
sparrc
added a commit
that referenced
this issue
Mar 21, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My primary use-case for telegraf is to collect stats off remote appliances (storage mostly) via exec or, in the future, snmp, so the local hostname is irrelevant and confusing. It can also clash with datapoints coming from plugins.
Currently there are 2 possibilities:-
So as not to break current .conf files, I propose using a new boolean in the [agent] section:-
usehostname = true <<-- generate the hostname tag from the hostname parameter
usehostname = false <<-- do not generate the hostname tag
The text was updated successfully, but these errors were encountered: