Class GcpFallbackOpenTelemetry.Builder (1.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
1.13.0 (latest)
1.12.0
1.11.0
public static class GcpFallbackOpenTelemetry . Builder
Methods
build()
public GcpFallbackOpenTelemetry build ()
disableAllMetrics()
public GcpFallbackOpenTelemetry . Builder disableAllMetrics ()
Disable all metrics. Any desired metric must be explicitly enabled after this.
disableMetrics(Collection<String> disableMetrics)
public GcpFallbackOpenTelemetry . Builder disableMetrics ( Collection<String> disableMetrics )
Disables the specified metrics from being collected and exported.
enableMetrics(Collection<String> enableMetrics)
public GcpFallbackOpenTelemetry . Builder enableMetrics ( Collection<String> enableMetrics )
Enables the specified metrics for collection and export. By default, all metrics are enabled.
withSdk(OpenTelemetry sdk)
public GcpFallbackOpenTelemetry . Builder withSdk ( OpenTelemetry sdk )
Sets the io.opentelemetry.api.OpenTelemetry entrypoint to use. This can be used to
configure OpenTelemetry by returning the instance created by a
io.opentelemetry.sdk.OpenTelemetrySdkBuilder.
Parameter
Name
Description
sdk
io.opentelemetry.api.OpenTelemetry
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-04 UTC.
[null,null,["Last updated 2026-08-04 UTC."],[],[]]