verisign / storm-graphite

An Apache Storm IMetricsConsumer that forwards Storm's built-in metrics to a Graphite server for real-time graphing, visualization, and operational dashboards.
Other
75 stars 38 forks source link

Colon in the metric name #36

Open mrh666 opened 8 years ago

mrh666 commented 8 years ago

Hi there,

Any chance to avoid using colon in metric name? We are using carbon-relay-ng as a relay and most of the Storm metrics going to /badMetrics because of ":" symbol in metrics. E.g.:

{"Metric":"statsite.gauges.data.servers.prod.storm.storm-172-22-99-99.storm.STREAMPROC.__acker.172.22.99.186.6703.20.__ack-count.eventVerificator:__ack_ack","LastMsg":"statsite.gauges.data.servers.prod.storm.storm-172-22-99-99.storm.STREAMPROC.__acker.172.22.99.186.6703.20.__ack-count.eventVerificator:__ack_ack 99460.00 1471268541","LastErr":"metric 'statsite.gauges.data.servers.prod.storm.storm-172-22-99-99.storm.STREAMPROC.__acker.172.22.99.186.6703.20.__ack-count.eventVerificator:__ack_ack' contains illegal char ':'","LastSeen":"2016-08-15T13:42:21.802120786Z"}

How to avoid or fix it?