Yes, you are right as far as the hostname goes. With the DataDog API you can attach other tags to the host as well (to be able to easily group hosts by tags, not just metrics), but after looking at the source code it seems like the plugin never communicates with that API endpoint. At this point it probably makes more sense for me to look into either making a pull request or opening a github issue about it instead, since it seems like at least some other agents work like this it might be useful.
Thanks! // Daniel On Monday, 29 August 2016 13:24:44 UTC+2, [email protected] wrote: > Hi Daniel, > > The datadog output plugin should automatically set any tag called "host" as > the datadog host tag. > > By default, telegraf sets the "host" tag using the hosts OS hostname. > > you can read more about setting your own tags here: > https://github.com/influxdata/telegraf/blob/master/docs/CONFIGURATION.md > > On Friday, August 26, 2016 at 4:03:59 PM UTC+1, [email protected] wrote: > > Hi! > > > > I'm trying to use Telegraf to output data to DataDog. To be able easily > > narrow down hosts (I have quite a few) in their UI, it'd be great if there > > was a way to set datadog host tags in the datadog config. Have I missed > > some other way to do this? > > > > Regards, > > Daniel -- 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. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. 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/5068448d-f4cd-4bcf-8c6e-21cc29d46661%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
