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.Disable telemetry collection associated with theJfrFeature.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
Disable telemetry collection associated with theJfrFeature. -
build
Build and start anRuntimeMetricswith the config from this builder.
-