This message was deleted.
# troubleshooting
s
This message was deleted.
u
I am getting following exception when adding to the druid.monitoring.monitors on mm runtime.properties
Copy code
1) No implementation for org.apache.druid.server.metrics.QueryCountStatsProvider was bound.
  while locating org.apache.druid.server.metrics.QueryCountStatsProvider
    for the 1st parameter of org.apache.druid.server.metrics.QueryCountStatsMonitor.<init>(QueryCountStatsMonitor.java:40)
  while locating org.apache.druid.server.metrics.QueryCountStatsMonitor
  at org.apache.druid.server.metrics.MetricsModule.getMonitorScheduler(MetricsModule.java:99) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.apache.druid.server.metrics.MetricsModule)
  at org.apache.druid.server.metrics.MetricsModule.getMonitorScheduler(MetricsModule.java:99) (via modules: com.google.inject.util.Modules$OverrideModule -> com.google.inject.util.Modules$OverrideModule -> org.apache.druid.server.metrics.MetricsModule)
g
hmm. i am not sure (never done this myself) but i guess you would need to add it to an override on
druid.indexer.runner.javaOpts
or
druid.indexer.runner.javaOptsArray
. Like
-Ddruid.monitoring.monitors=...
the issue is the MM itself cannot do queries so it can't load a query monitor
but the task can.
this is a little awkward, perhaps we should make this better by adding a system to allow monitors to be configured the same on all node types, and ignore the ones that aren't applicable to the node type
👍 1
we offer a similar capability for extension modules
e.g.
@LoadScope(roles = NodeRole.BROKER_JSON_NAME)
u
ok got it. thanks