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

Add parameter for replacement string for '.' characters #9

Open KevinJMao opened 9 years ago

KevinJMao commented 9 years ago

carbon-cache considers '.' (dot) to be a reserved character, using it as a delimiter by which the whisper database's directory hierarchy is created. In the event that names are parsed that contain a '.', we should allow users to choose something to replace it with.

marchappyharris commented 8 years ago

I'd like this feature too.

(I couldn't find a mechanism in github to vote for enhancement requests, so sorry if I should have used that).

If this feature is hard, a feature that would get us most of the way there is to be able to specify a string to use for the WORKER_HOST instead of the FQHN in the metric string

${metrics.graphite.prefix}.TOPOLOGY_ID_WITHOUT_NONCE.COMPONENT_ID.WORKER_HOST.WORKER_PORT.TASK_ID.DATAPOINT_NAME.KEY