Class JvmCompilationMetrics

Object
JvmCompilationMetrics

public class JvmCompilationMetrics extends Object
JVM Compilation metrics. The JvmCompilationMetrics are registered as part of the JvmMetrics like this:

 JvmMetrics.builder().register();
 
However, if you want only the JvmCompilationMetrics you can also register them directly:

 JvmCompilationMetrics.builder().register();
 
Example metrics being exported:
 # HELP jvm_compilation_time_seconds_total The total time in seconds taken for HotSpot class compilation
 # TYPE jvm_compilation_time_seconds_total counter
 jvm_compilation_time_seconds_total 0.152