apache / druid

Apache Druid: a high performance real-time analytics database.

Home Page:https://druid.apache.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Druid prometheus-emitter does not emit all the metrics

tapojit047 opened this issue · comments

Druid prometheus-emitter does not emit all the metrics.

Affected Version

28.0.1

Description

I was trying to emit metrics from druid cluster deployed in k8s using druid prometheus-emitter extension. But there are many metrics provided here (druid-metrics) which are not available in the metrics emitted by the extension. I am providing two basic metrics, but there are many which I was not able to find:

@tapojit047 The docs mention a proerty druid.emitter.prometheus.dimensionMapPath that you can set to provide a custom file with the set of metrics and dimensions you want to report. The default list of metrics and dimensions that the prometheus emitter reports is listed in https://github.com/apache/druid/blob/master/extensions-contrib/prometheus-emitter/src/main/resources/defaultMetrics.json

I think it would be reasonable to add both the service health metrics and the Zookeeper metrics to the list of default metrics that are emitted. Would you like to make a PR for that?