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

Method addLongUpDownCounter

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

Adds a value for a long valued up down counter metric associated with specified metric instrument. @param metricInstrument The counter metric instrument identifies metric measure to add. @param value The value to record. May be positive, negative or zero. @param requiredLabelValues

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

Source from the content-addressed store, hash-verified

83 * @param optionalLabelValues A list of additional, optional label values for the metric.
84 */
85 default void addLongUpDownCounter(LongUpDownCounterMetricInstrument metricInstrument, long value,
86 List<String> requiredLabelValues,
87 List<String> optionalLabelValues) {
88 }

Implementers 2

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

Calls

no outgoing calls