Hi all
I am using jmx exporter to scrape metrics from C* version 4. I am not 
seeing cassandra_gc_collection_count at the /metric endpoint. Using 
JConsole I confirmed that C* is exposing that metric but I think my pattern 
is wrong. When I change to ".*" pattern I did see this metric. These are 
the patterns I have tried but no luck:

- pattern: java.lang<type=GarbageCollector, name=(.+)><>(CollectionCount) 
name: cassandra_gc_collection_count type: GAUGE labels: name: "$1"

- pattern: java.lang<type=GarbageCollector, name=(G1 Yong 
Generation)><>CollectionCount name: cassandra_gc_collection_count type: 
GAUGE labels: name: "$1"

java.lang:type=GarbageCollector,* is in whitelistObjectNames.

Any pointers would be helpful.
Thanks

-- 
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/513aa2a1-e6f3-4cbc-b44f-eb12d9be7fdbn%40googlegroups.com.

Reply via email to