Class GcpManagedChannelOptions.GcpMetricsOptions (1.13.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
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."],[],[]]