Closed AlejandroRivera closed 8 years ago
Thanks, this is a really great new feature! I had a couple questions inline but overall this looks good.
How about now? :)
Great, thanks for doing that renaming. This all looks good! I'll get 2.0 published this morning.
I've just published 2.0.0. It should be available from Maven Central shortly.
While the current CPU profiler focuses on breakdowns per thread, this new profiler obtains CPU load (in percentage) for the entire JVM and the system.
Here's the description taken from the modified README file:
JVM And System CPU Profiler:
JVMCPUProfiler
This profiler will record the JVM's and the overall system's CPU load, if the JVM is capable of providing this information.
Assuming you use the default prefix of
statsd-jvm-profiler
, the JVM CPU load metrics will be understatsd-jvm-profiler.cpu.jvm
, and the System CPU load wil be understatsd-jvm-profiler.cpu.system
.The reported metrics will be percentages in the range of [0, 100] with 1 decimal precision.
CPU load metrics are sampled and reported once every 10 seconds.
Important notes:
profilers=JVMCPUProfiler