Druid 0.11.0 not emitting count related metrics with statsd

Hi

I have enabled statsd emitter for druid, could get other events except those related to count

Historical and Broker :

query/success/count

query/failed/count

query/interrupted/count

Coordinator:

segment/count

Historical:

segment/count

Enabled QueryCountStatsMonitor also , but still missing out the above metrics.

Hi Shilpa,

This is expected as the default metrics list does not contain these metrics.

Here is the default mertics -

https://github.com/apache/incubator-druid/blob/master/extensions-contrib/statsd-emitter/src/main/resources/defaultMetricDimensions.json

You can override the default by specifying druid.emitter.statsd.dimensionMapPath property.

See http://druid.io/docs/latest/development/extensions-contrib/statsd.html

Hi Nishant,

Thank you. But the default metrics coordinator-segment/count, historical-segment/count are also not emitted.

Thanks for pointing it out.

It seems the default metric name is spelled incorrectly, the actual metric names should be ‘segment/count’ without coordinator/historical prefixes.

Please submit a PR or raise an issue here - https://github.com/apache/incubator-druid/issues.

Have raised an issue

Reference : Its fixed with druid 0.12.x versions

Thank you