eiiches / scriptable-jmx-exporter

A javaagent for scraping and exposing MBeans to Prometheus
MIT License
7 stars 2 forks source link

Support for NotificationEmitter MBeans? #21

Open eiiches opened 2 years ago

eiiches commented 2 years ago

Some MBeans such as GarbageCollectorMXBean implements NotificationEmitter. If we can listen to the notifications, we might be able to compute and expose more useful metrics such as 99th percentile of GC duration not just LastGCInfo.duration.

I believe we can also support JFR Event Streaming in a similar manner.