MCPcopy Create free account
hub / github.com/grpc/grpc-java / getOptionalLabels

Method getOptionalLabels

api/src/main/java/io/grpc/MetricSink.java:41–41  ·  view source on GitHub ↗

Returns a set of optional label names for metrics that the sink actually wants. @return A set of optional label names.

()

Source from the content-addressed store, hash-verified

39 * @return A set of optional label names.
40 */
41 Set<String> getOptionalLabels();
42
43 /**
44 * Returns size of metric measures used to record metric values. These measures are created

Callers

nothing calls this directly

Implementers 2

OpenTelemetryMetricSinkopentelemetry/src/main/java/io/grpc/op
NoopMetricSinkapi/src/testFixtures/java/io/grpc/Noop

Calls

no outgoing calls

Tested by

no test coverage detected