Query Metrics on Broker (io.druid.server.metrics.QueryCountStatsMonitor)

336 views
Skip to first unread message

Maurizio Gallelli

unread,
Nov 15, 2017, 7:03:51 AM11/15/17
to Druid User
Hi,
I've activated the Query Metrics on Brokers, Historical and Indexing services into common.runtime.properties setting io.druid.server.metrics.QueryCountStatsMonitor in the list of monitors
druid.monitoring.emissionPeriod = PT1m
druid.monitoring.monitors=["com.metamx.metrics.SysMonitor","com.metamx.metrics.JvmMonitor","io.druid.client.cache.CacheMonitor","io.druid.server.metrics.QueryCountStatsMonitor"]
druid.emitter=composing
druid.emitter.composing.emitters=["logging","http"]

However, on all Brokers values are always 0 for success, failed and interrupted (obviously query are incoming) while the Historical nodes have values. 

Can you please help me on investigating why it's happening

Thanks,
Maurizio

Maurizio Gallelli

unread,
Nov 18, 2017, 9:02:41 AM11/18/17
to Druid User
Hi,
does anyone is using QueryCountStatsMonitor? Is it working on Broker service?

Thanks
Maurizio

Gian Merlino

unread,
Nov 18, 2017, 5:18:54 PM11/18/17
to druid...@googlegroups.com
Hi Maurizio,

Currently those metrics are always reported as zero, it's a bug that will be fixed in Druid 0.11.0. Until then, you could count the number of "query/time" metrics -- it should be equivalent to the number of queries made. The "success" dimension will let you differentiate successful from failed queries.

Gian

Maurizio

--
You received this message because you are subscribed to the Google Groups "Druid User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to druid-user+unsubscribe@googlegroups.com.
To post to this group, send email to druid...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/druid-user/f5bf0547-2240-47b6-97c4-ea344f5c52f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Maurizio Gallelli

unread,
Nov 19, 2017, 1:36:20 AM11/19/17
to Druid User
Thanks Gian for the feedback!
I'll do as suggested.

Maurizio

Reply all
Reply to author
Forward
0 new messages