Class RuntimeMetricsBuilder
java.lang.Object
io.opentelemetry.instrumentation.runtimemetrics.java17.RuntimeMetricsBuilder
Builder for
RuntimeMetrics.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build and start anRuntimeMetricswith the config from this builder.Disable telemetry collection for allJfrFeatures.Disable all JMX telemetry collection.Disable telemetry collection for all metrics.disableFeature(JfrFeature feature) Disable telemetry collection associated with theJfrFeature.Enable telemetry collection for allJfrFeatures.Enable experimental JMX telemetry collection.enableFeature(JfrFeature feature) Enable telemetry collection associated with theJfrFeature.
-
Method Details
-
enableAllFeatures
Enable telemetry collection for allJfrFeatures. -
enableFeature
Enable telemetry collection associated with theJfrFeature. -
disableAllFeatures
Disable telemetry collection for allJfrFeatures. -
disableAllMetrics
Disable telemetry collection for all metrics. -
disableFeature
Disable telemetry collection associated with theJfrFeature. -
disableAllJmx
Disable all JMX telemetry collection. -
enableExperimentalJmxTelemetry
Enable experimental JMX telemetry collection. -
build
Build and start anRuntimeMetricswith the config from this builder.
-