Discussion:
[influxdb] Telegraf and dynamic tags...
a***@gmail.com
2017-08-30 08:07:56 UTC
Permalink
I believe that would be the only way. What is use-case exactly? Tagging all metrics with the telegraf PID?
I believe there is no way to change the default tags without restarting the daemon. 
Hi,
I'm evaluating telegraf as a collector primarily because it supports InfluxDB tags but I'm curious if tags can be modified dynamically without restarting the  daemon.  For example in my environment a job may run on many hosts simultaneously and it would be ideal to tag all metrics from each host with the current job id so that per job metrics can be aggregated.  It looks like the only way to achieve this is to modify the config file and restart the telegraf process.  Is this correct?  I saw some open issues on GitHub regarding dynamic configuration change, but it's not clear if this use case fits exactly with those requests.
Thanks,
Robert
--
Remember to include the InfluxDB version number with all issue reports
---
You received this message because you are subscribed to the Google Groups "InfluxDB" group.
Visit this group at http://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/c48d50a7-54f5-4b26-9b23-097e65b042fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Sean Beckett
Director of Support and Professional Services
InfluxDB
Our use case is something similar, where we have one instance of Telegraf running, and we need to tag the host each metrics is coming from. We are running with StatsD as input format.
--
Remember to include the version number!
---
You received this message because you are subscribed to the Google Groups "InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+***@googlegroups.com.
To post to this group, send email to ***@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/ac9a9794-b584-4b6c-bdd4-6b4cbfe2b0b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...