Class JvmRuntimeInfoMetric
Object
JvmRuntimeInfoMetric
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
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic JvmRuntimeInfoMetric.Builder
builder()
static JvmRuntimeInfoMetric.Builder
builder
(PrometheusProperties config)
-
Method Details
-
builder
-
builder
-