Class JvmRuntimeInfoMetric

Object
JvmRuntimeInfoMetric

public class JvmRuntimeInfoMetric extends Object
JVM Runtime Info metric. The JvmRuntimeInfoMetric is registered as part of the JvmMetrics like this:

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

 JvmRuntimeInfoMetric.builder().register();
 
 # TYPE jvm_runtime info
 # HELP jvm_runtime JVM runtime info
 jvm_runtime_info{runtime="OpenJDK Runtime Environment",vendor="Oracle Corporation",version="1.8.0_382-b05"} 1