intelsdi-x / snap-plugin-publisher-influxdb

Publishes Snap metrics to InfluxDB
http://snap-telemetry.io/
Apache License 2.0
8 stars 40 forks source link

Publishing metrics with user specified Ids #122

Closed pkudaiyar closed 7 years ago

pkudaiyar commented 7 years ago

Snap daemon version (use snapteld -v):

Environment:

What happened:

What you expected to happen:

Steps to reproduce it (as minimally and precisely as possible):

Anything else do we need to know (e.g. issue happens only occasionally):

pkudaiyar commented 7 years ago

Hi Team,

when publishing the metrics to DBs like Influxdb nodes's host names are used to store the data. Is it possible to specify the custom Ids when starting the metric collection tasks?

thanks, Perumal

ghost commented 7 years ago

@pkudaiyar, sorry for long response time.

You can add your own tags for any task like this: https://github.com/intelsdi-x/snap-plugin-publisher-elasticsearch/blob/master/examples/tasks/logs-regexp-elasticsearch.json#L21. Tags you specify will appear in InfluxDB as metric tags.

Does this answer your question? 🐢

kjlyon commented 7 years ago

Hi @pkudaiyar, we haven't heard from you in a while. We will be closing this issue due to inactivity. If you still have questions please reach out to us again by either opening another issue here or contacting us on Slack