Package io.grpc
Class LongCounterMetricInstrument
- java.lang.Object
-
- io.grpc.PartialMetricInstrument
-
- io.grpc.LongCounterMetricInstrument
-
- All Implemented Interfaces:
MetricInstrument
@Internal public final class LongCounterMetricInstrument extends PartialMetricInstrument
Represents a long-valued counter metric instrument.
-
-
Field Summary
-
Fields inherited from class io.grpc.PartialMetricInstrument
description, enableByDefault, index, name, optionalLabelKeys, requiredLabelKeys, unit
-
-
Constructor Summary
Constructors Constructor Description LongCounterMetricInstrument(int index, java.lang.String name, java.lang.String description, java.lang.String unit, java.util.List<java.lang.String> requiredLabelKeys, java.util.List<java.lang.String> optionalLabelKeys, boolean enableByDefault)
-
Method Summary
-
Methods inherited from class io.grpc.PartialMetricInstrument
getDescription, getIndex, getName, getOptionalLabelKeys, getRequiredLabelKeys, getUnit, isEnableByDefault, toString
-
-