Hi all
I am running openjdk 11.0.16.1 2022-08-12 and trying to scrape 
cassandra_gc_collection_time
cassandra_gc_duration
cassandra_gc_stats
using jmx_exporter

I confirmed using JConsole that C* is exposing atleast one of these metrics 
(collection_time) and when I use ".*" as pattern in jmx_config file I am 
able to see this metric at the /metric endpoint but with my current pattern 
I am not able to scrape it and need help with that. So far I have tried 
these patterns:
- pattern: java.lang<type=GarbageCollector, name=(G1 Yong 
Generation)><>CollectionCount name: cassandra_gc_collection_count type: 
GAUGE labels: name: "$1"

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

Any help would be appreciated.

-- 
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/d4612c81-0793-43d1-bb41-346437879fean%40googlegroups.com.

Reply via email to