Class DefaultGrpcClientObservationConvention
java.lang.Object
io.micrometer.core.instrument.binder.grpc.DefaultGrpcClientObservationConvention
- All Implemented Interfaces:
GrpcClientObservationConvention
,io.micrometer.observation.KeyValuesConvention
,io.micrometer.observation.ObservationConvention<GrpcClientObservationContext>
public class DefaultGrpcClientObservationConvention
extends Object
implements GrpcClientObservationConvention
Default convention for gRPC client. This class defines how to extract values from
GrpcClientObservationContext
.- Since:
- 1.10.0
-
Field Summary
Fields inherited from interface io.micrometer.observation.ObservationConvention
EMPTY
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micrometer.core.instrument.binder.grpc.GrpcClientObservationConvention
supportsContext
Methods inherited from interface io.micrometer.observation.ObservationConvention
getHighCardinalityKeyValues
-
Constructor Details
-
DefaultGrpcClientObservationConvention
public DefaultGrpcClientObservationConvention()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceio.micrometer.observation.ObservationConvention<GrpcClientObservationContext>
-
getContextualName
- Specified by:
getContextualName
in interfaceio.micrometer.observation.ObservationConvention<GrpcClientObservationContext>
-
getLowCardinalityKeyValues
public io.micrometer.common.KeyValues getLowCardinalityKeyValues(GrpcClientObservationContext context) - Specified by:
getLowCardinalityKeyValues
in interfaceio.micrometer.observation.ObservationConvention<GrpcClientObservationContext>
-