collectd-rabbitmq icon indicating copy to clipboard operation
collectd-rabbitmq copied to clipboard

Format issue with graphite output

Open smetj opened this issue 8 years ago • 2 comments

Reopening issue https://github.com/NYTimes/collectd-rabbitmq/issues/8

When outputting via write_graphite plugin, the node stats are outputted correctly, e.g.: server1.rabbitmq.disk_free

However, the exchange and queue stats do not prefix the server name correctly: rabbitmq_default.exchanges-logstash_backfill1.ack

Not sure why the servername would show up on one but not the other?

Still ticket was closed with the remark:

queue/exchange stats are shared across nodes in a cluster, rather than reported per node.

prefixing with hostname or not, at least there must be an option to prefix the rabbitmq_default namespace (without using the collectd global namespace) because if you are collecting from multiple clusters (or multiple individual nodes) and writing the metrics in the same (graphite) backend then you end up unintentionally merging metrics into 1 namespace.

smetj avatar Jul 18 '16 12:07 smetj

Suggestion - use the cluster_name returned in the overview stats here? Since these are cluster-wide, that would seem the "correct" prefix.

redterror avatar Jul 18 '16 14:07 redterror

yes, That sounds good

smetj avatar Jul 20 '16 08:07 smetj