Hi Everyone

Does anyone here uses cassandra-exporter: Release v0.9.12 · 
instaclustr/cassandra-exporter · GitHub 
<https://github.com/instaclustr/cassandra-exporter/releases/tag/v0.9.12> using 
embedded, agent jar?

I'm running into an issue post exporter deployment; When GET call is fired 
towards the embedded agent socket/port, the call is stuck and from the 
cassandra logs it can be seen that it tries to call a getBroadcastAddress() 
method from cassandra, which isnt found:
 
WARN  [prometheus-netty-pool-0] 2024-03-05 17:50:59,016 
DefaultChannelPipeline.java:1152 - An exceptionCaught() event was fired, 
and it reached at the tail of the pipeline. It usually means the last 
handler in the pipeline did not handle the exception.
*java.lang.NoSuchMethodError: 'java.net.InetAddress 
org.apache.cassandra.utils.FBUtilities.getBroadcastAddress()'*
        at 
com.zegelin.cassandra.exporter.InternalMetadataFactory.localBroadcastAddress(InternalMetadataFactory.java:87)
        at 
com.zegelin.cassandra.exporter.Harvester.globalLabels(Harvester.java:283)
        at 
com.zegelin.cassandra.exporter.netty.HttpHandler.sendMetrics(HttpHandler.java:289)
        at 
com.zegelin.cassandra.exporter.netty.HttpHandler.channelRead0(HttpHandler.java:91)
        at 
com.zegelin.cassandra.exporter.netty.HttpHandler.channelRead0(HttpHandler.java:36)

 
This most probably suggests incompatibility between the embedded agent and 
cassandra.

The standalone agent 0.9.12 works fine, though performance wise its ~50X 
slower.

Has anyone come across a similar issue or got the embedded jar to work?
What other alternatives are there for Cassandra v4 metric exposure with 
similar performance/overhead as the embedded one:

https://github.com/instaclustr/cassandra-exporter#:~:text=cassandra%2Dexporter%20enables%20high%20performance%20collection%20of%20Cassandra%20metrics%20and%20follows%20the%20Prometheus%20best%20practices%20for%20metrics%20naming%20and%20labeling.

Thanks/Anton

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/1cd4aeb6-a67a-45a3-bc5f-0508853cebean%40googlegroups.com.

Reply via email to