Class GcpManagedChannelOptions.GcpMetricsOptions (1.17.0)
1.17.0 (latest)
1.13.0
1.12.0
1.11.0
public static class GcpManagedChannelOptions . GcpMetricsOptions
Metrics configuration for the GCP managed channel.
Static Methods
newBuilder()
public static GcpManagedChannelOptions . GcpMetricsOptions . Builder newBuilder ()
Creates a new GcpMetricsOptions.Builder.
newBuilder(GcpManagedChannelOptions.GcpMetricsOptions options)
public static GcpManagedChannelOptions . GcpMetricsOptions . Builder newBuilder ( GcpManagedChannelOptions . GcpMetricsOptions options )
Creates a new GcpMetricsOptions.Builder from GcpMetricsOptions.
Constructors
GcpMetricsOptions(GcpManagedChannelOptions.GcpMetricsOptions.Builder builder)
public GcpMetricsOptions ( GcpManagedChannelOptions . GcpMetricsOptions . Builder builder )
Methods
getLabelKeys()
public List<LabelKey> getLabelKeys ()
Returns
Type
Description
List <io.opencensus.metrics.LabelKey >
getLabelValues()
public List<LabelValue> getLabelValues ()
Returns
Type
Description
List <io.opencensus.metrics.LabelValue >
getMetricRegistry()
public MetricRegistry getMetricRegistry ()
Returns
Type
Description
io.opencensus.metrics.MetricRegistry
getNamePrefix()
public String getNamePrefix ()
Returns
Type
Description
String
getOpenTelemetryMeter()
public Meter getOpenTelemetryMeter ()
Returns
Type
Description
io.opentelemetry.api.metrics.Meter
getOtelLabelKeys()
public List<String> getOtelLabelKeys ()
getOtelLabelValues()
public List<String> getOtelLabelValues ()
toString()
Returns
Type
Description
String
Overrides
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-10-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-10-05 UTC."],[],[]]