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

Method recordLongGauge

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

Record a long gauge value. @param value The value to record. @param requiredLabelValues A list of required label values for the metric. @param optionalLabelValues A list of additional, optional label values for the metric.

(LongGaugeMetricInstrument metricInstrument, long value,
        List<String> requiredLabelValues, List<String> optionalLabelValues)

Source from the content-addressed store, hash-verified

157 * @param optionalLabelValues A list of additional, optional label values for the metric.
158 */
159 default void recordLongGauge(LongGaugeMetricInstrument metricInstrument, long value,
160 List<String> requiredLabelValues, List<String> optionalLabelValues) {
161 checkArgument(requiredLabelValues != null
162 && requiredLabelValues.size() == metricInstrument.getRequiredLabelKeys().size(),

Callers 1

recordLongGaugeMethod · 0.95

Implementers 3

BatchRecorderImplcore/src/main/java/io/grpc/internal/Me
BatchRecorderImplxds/src/test/java/io/grpc/xds/XdsClien
OpenTelemetryMetricSinkopentelemetry/src/main/java/io/grpc/op

Calls

no outgoing calls

Tested by

no test coverage detected