org.apache.druid.server.metrics.QueryCountStatsMonitor emitting query/count metrics as 0

25 views
Skip to first unread message

tania manhas

unread,
Feb 19, 2025, 9:27:17 PMFeb 19
to Druid User
Hi Everyone,

I have a query regarding metrics emission by Druid. We have enabled org.apache.druid.server.metrics.QueryCountStatsMonitor to capture query metrics in Druid. However, the logs indicate that query/count remains at 0, However, our queries are being processed. I did research online and it seems this was a bug in earlier versions which has been fixed. We are using 30.0.1 version and having enabled emitter using druid.emitter=logging
druid.emitter.logging.logLevel=info.

Can someone please help with this issue?

Thankyou!

gi...@imply.io

unread,
Apr 1, 2025, 5:44:41 AMApr 1
to Druid User
IIRC, on the Broker, this monitor is currently only implemented for native queries. If you are doing all SQL queries then it may show 0. You should still see "sqlQuery/time" and "query/time" metrics, though.
Reply all
Reply to author
Forward
0 new messages