This message was deleted.
# general
s
This message was deleted.
👀 1
s
I'm hitting an issue as well. I downloaded the graphite emitter to my local Druid setup, ran graphite locally using a docker run command and started Druid 25.0 after setting the common.runtime.properties:
Copy code
druid.extensions.loadList=["graphite-emitter", "druid-hdfs-storage", "druid-kafka-indexing-service", "druid-datasketches", "druid-multi-stage-query"]
druid.monitoring.monitors=["org.apache.druid.java.util.metrics.JvmMonitor"]
druid.emitter=graphite
druid.emitter.graphite.hostname=localhost
druid.emitter.graphite.port=2003
druid.emitter.graphite.eventConverter={"type":"all", "namespacePrefix": "druid.test", "ignoreHostname":true, "ignoreServiceName":true}
It is connecting and sending metrics, but I see many errors in the graphite carbon.log like these:
Copy code
23/02/2023 22:06:58 :: [listener] invalid line received from client 172.17.0.1:50606, ignoring [tta(S'druid.test.jetty/numOpenConnections']       
23/02/2023 22:06:58 :: [listener] invalid line received from client 172.17.0.1:50606, ignoring [(L1677189898L]                                    
23/02/2023 22:06:58 :: [listener] invalid line received from client 172.17.0.1:50606, ignoring [S'0']
still trying to figure out why. Do you see the same issue?
I tried changing the protocol in common.runtime.properties to:
Copy code
druid.emitter.graphite.protocol=plaintext
and then I started seeing druid metrics in graphite. There must be another configuration that I am unaware of to use the default pickle protocol on the graphite side or maybe a bug in how Druid is emitting pickle.
my bad, the pickle port is 2004... trying again...
that did it. So it is working as expected on my local setup. What errors are you seeing?
final config for the functional test was: • download the emitter
Copy code
java -classpath "/Users/sergioferragut/druid/apache-druid-25.0.0/lib/*" org.apache.druid.cli.Main tools pull-deps --clean -c org.apache.druid.extensions.contrib:graphite-emitter
• common.runtime.properties:
Copy code
druid.extensions.loadList=["graphite-emitter", "druid-hdfs-storage", "druid-kafka-indexing-service", "druid-datasketches", "druid-multi-stage-query"]
druid.monitoring.monitors=["org.apache.druid.java.util.metrics.JvmMonitor"]
druid.emitter=graphite
druid.emitter.graphite.hostname=localhost
druid.emitter.graphite.port=2004
druid.emitter.graphite.eventConverter={"type":"all", "namespacePrefix": "druid.test", "ignoreHostname":true, "ignoreServiceName":true}