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.