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

Method addLongCounter

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

Adds a value for a long valued counter metric associated with specified metric instrument. @param metricInstrument The counter metric instrument identifies metric measure to add. @param value The value to record. MUST be non-negative. @param requiredLabelValues A list of required label values for t

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

Source from the content-addressed store, hash-verified

70 * @param optionalLabelValues A list of additional, optional label values for the metric.
71 */
72 default void addLongCounter(LongCounterMetricInstrument metricInstrument, long value,
73 List<String> requiredLabelValues, List<String> optionalLabelValues) {
74 }
75

Implementers 2

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

Calls

no outgoing calls