Package io.grpc
Interface MetricRecorder.BatchRecorder
-
- All Known Implementing Classes:
MetricRecorderImpl.BatchRecorderImpl
- Enclosing interface:
- MetricRecorder
public static interface MetricRecorder.BatchRecorder
Recorder for instrument values produced by a batch callback.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default void
recordLongGauge(LongGaugeMetricInstrument metricInstrument, long value, java.util.List<java.lang.String> requiredLabelValues, java.util.List<java.lang.String> optionalLabelValues)
Record a long gauge value.
-
-
-
Method Detail
-
recordLongGauge
default void recordLongGauge(LongGaugeMetricInstrument metricInstrument, long value, java.util.List<java.lang.String> requiredLabelValues, java.util.List<java.lang.String> optionalLabelValues)
Record a long gauge value.- Parameters:
value
- The value to record.requiredLabelValues
- A list of required label values for the metric.optionalLabelValues
- A list of additional, optional label values for the metric.
-
-