API to get all Druid nodes' information

Hi Druid,

Does Druid have an API to query all servers’ information? “/druid/coordinator/v1/servers” only supports retrieve historical nodes and index-executor. But I see the UI could show all nodes’ information. Out team would like to use built in auto scaling and there’s a requirement to get all middleManagers’ IP automatically.



You use http://druid.incubator.apache.org/docs/latest/querying/sql#metadata-tables for that.

Have a look at the query the console is making:

Got it, thanks!