Send feedback
Class GcpManagedChannelOptions.GcpMetricsOptions (1.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
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
Send feedback
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-06-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-19 UTC."],[],[]]