Class RuntimeMetricsBuilder
java.lang.Object
io.opentelemetry.instrumentation.runtimemetrics.java8.RuntimeMetricsBuilder
Builder for
RuntimeMetrics.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build and start anRuntimeMetricswith the config from this builder.Enable the capture of the jvm.gc.cause attribute with the jvm.gc.duration metric.Enable all JMX telemetry collection.
-
Method Details
-
emitExperimentalTelemetry
Enable all JMX telemetry collection. -
captureGcCause
Enable the capture of the jvm.gc.cause attribute with the jvm.gc.duration metric. -
build
Build and start anRuntimeMetricswith the config from this builder.
-