clintropolis commented on a change in pull request #11554:
URL: https://github.com/apache/druid/pull/11554#discussion_r736187832
##########
File path:
extensions-contrib/statsd-emitter/src/main/resources/defaultMetricDimensions.json
##########
@@ -63,11 +63,11 @@
"task/pending/count" : { "dimensions" : ["dataSource"], "type" : "gauge" },
"task/waiting/count" : { "dimensions" : ["dataSource"], "type" : "gauge" },
- "taskSlot/total/count" : { "dimensions" : [], "type" : "gauge" },
- "taskSlot/idle/count" : { "dimensions" : [], "type" : "gauge" },
- "taskSlot/busy/count" : { "dimensions" : [], "type" : "gauge" },
- "taskSlot/lazy/count" : { "dimensions" : [], "type" : "gauge" },
- "taskSlot/blacklisted/count" : { "dimensions" : [], "type" : "gauge" },
+ "taskSlot/total/count" : { "dimensions" : ["category"], "type" : "gauge" },
Review comment:
hmm, it looks like other emitters have files like this too:
* prometheus-emitter:
https://github.com/apache/druid/blob/master/extensions-contrib/prometheus-emitter/src/main/resources/defaultMetrics.json
* opentsdb-emitter:
https://github.com/apache/druid/blob/master/extensions-contrib/opentsdb-emitter/src/main/resources/defaultMetrics.json
* dropwizard-emitter:
https://github.com/apache/druid/blob/master/extensions-contrib/dropwizard-emitter/src/main/resources/defaultMetricDimensions.json
* graphite-emitter:
https://github.com/apache/druid/blob/master/extensions-contrib/graphite-emitter/src/main/resources/defaultWhiteListMap.json
* ambari-emitter:
https://github.com/apache/druid/blob/master/extensions-contrib/ambari-metrics-emitter/src/main/resources/defaultWhiteListMap.json
should they be updated as well after this change? I didn't look _super_
closely at their contents, and i'm not sure how consistent they actually are
with each other since I'm not sure they are currently emitting these metrics at
all... but this seemed worth discussing.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]