Package io.grpc
Interface MetricRecorder.BatchRecorder
- Enclosing interface:
- MetricRecorder
public static interface MetricRecorder.BatchRecorder
Recorder for instrument values produced by a batch callback.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidrecordLongGauge(LongGaugeMetricInstrument metricInstrument, long value, List<String> requiredLabelValues, List<String> optionalLabelValues) Record a long gauge value.
-
Method Details
-
recordLongGauge
default void recordLongGauge(LongGaugeMetricInstrument metricInstrument, long value, List<String> requiredLabelValues, List<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.
-