etsy / statsd-jvm-profiler

Simple JVM Profiler Using StatsD and Other Metrics Backends
MIT License
330 stars 93 forks source link

Enhanced Memory Metrics #17

Closed bdarfler closed 9 years ago

bdarfler commented 9 years ago

Hello all. I'm a big user of NewRelic but I'm also interested in getting a lot of the JVM stats it provides into a more open metrics solution (graphite/influxdb/cloudwatch). This project exposes some of those metrics but there are a few pieces that are missing.

First and easiest would be class (un)loading tracking which an be accessed via http://docs.oracle.com/javase/7/docs/api/java/lang/management/ClassLoadingMXBean.html

Second and a bit more involved but also a bit more valuable would be memory pool tracking (old gen, eden, survivor) which I think can be accessed via http://docs.oracle.com/javase/7/docs/api/java/lang/management/MemoryPoolMXBean.html

Would these additions be valuable to this tool and in keeping with its vision? I wanted to ask before jumping in on any implementation work.

ajsquared commented 9 years ago

Yes, those would absolutely be valuable. Thanks for your interest in contributing!