This message was deleted.
# general
s
This message was deleted.
j
Hi Tapajit, There is a section on this in the learn.imply.io course on metrics ... I took it a while ago and don't remember if there are config files in here that you can use as a reference, but it might be worth a quick look: https://learn.imply.io/apache-druid-metrics/1474144
r
Hi @Tapajit Chandra Paul any progress you made? I followed the link suggested by @John Kowtko however looks like my historical is failing to come up with below error:
Copy code
Error in custom provider, java.lang.NoClassDefFoundError: io/prometheus/client/Collector
  at org.apache.druid.emitter.prometheus.PrometheusEmitterModule.getEmitter(PrometheusEmitterModule.java:60) (via modules: com.google.inject.util.Modules$OverrideModule -> org.apache.druid.emitter.prometheus.PrometheusEmitterModule)
  at org.apache.druid.emitter.prometheus.PrometheusEmitterModule.getEmitter(PrometheusEmitterModule.java:60) (via modules: com.google.inject.util.Modules$OverrideModule -> org.apache.druid.emitter.prometheus.PrometheusEmitterModule)
  while locating org.apache.druid.java.util.emitter.core.Emitter annotated with @com.google.inject.name.Named("prometheus")
  at org.apache.druid.server.emitter.EmitterModule$EmitterProvider.inject(EmitterModule.java:133)
This is my config
Copy code
druid.extensions.loadList=["druid-kafka-indexing-service","postgresql-metadata-storage","prometheus-emitter"]
    ##################################################
    # Monitoring ( enable when using prometheus )
    #################################################
    druid.emitter=prometheus
In Broker runtime properties
Copy code
druid.emitter.prometheus.port=9090
t
did you include this config in
common.runtime
?
Copy code
config[druid.monitoring.monitors] = "[]"
>>> any progress you made? Not that much as I have already done the configuration shown in the course. There is an example
json
shown in the course. But it is just an example. Not a complete one.