endgameinc/storm-metrics-statsd — pull request #1 by dschiavu (2014-02-07 16:46:36+00:00)
Title: Append the Storm component's task ID to the metric name, too

Hi,

This pull request appends the Storm component's task ID to the name of the metric sent to Statsd.

This is needed in cases of Storm component paralellism, because if a Storm component has multiple instances (tasks) running, each task records it own, separate metric, but the current implementation doesn't differentiate the separate tasks metrics, so the metrics get sent to Statsd under the same name, and then are furtherly aggregated by Statsd into a single metric. I think we need to differentiate the different task's metrics, so I've added the task ID to the metric name that gets sent to Statsd.

See Storm's default `LoggingMetricsConsumer`, which correctly records separate per-task metrics into the log file.