Is there a Rest API for retrieving Metrics?


I’d like to integrate Druid’s Metric with our own monitoring system.

I noticed that I have to implement metric emission extension.

But, If there is Rest API for Metrics, this kind of task would be easy because one can implement just using his convenient script.

So, I’m wondering if there exists such HTTP Rest APIs.



A REST API does not currently exist. Druid emits individual metrics
for each action while a REST API forces you to come up with how you
want to combine things on the server side (and often time also results
in a loss of fidelity).

That said, as an extension, it is possible to both add a Jersey
Resource and plug in an emitter that just aggregates locally and makes
things available to said Jersey resource, so you could implement a
poll-able interface if you like.