Class DefaultGrpcServerObservationConvention
java.lang.Object
io.micrometer.core.instrument.binder.grpc.DefaultGrpcServerObservationConvention
- All Implemented Interfaces:
GrpcServerObservationConvention
,io.micrometer.observation.KeyValuesConvention
,io.micrometer.observation.ObservationConvention<GrpcServerObservationContext>
public class DefaultGrpcServerObservationConvention
extends Object
implements GrpcServerObservationConvention
Default convention for gRPC server. This class defines how to extract values from
GrpcServerObservationContext
.- 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.GrpcServerObservationConvention
supportsContext
Methods inherited from interface io.micrometer.observation.ObservationConvention
getHighCardinalityKeyValues
-
Constructor Details
-
DefaultGrpcServerObservationConvention
public DefaultGrpcServerObservationConvention()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceio.micrometer.observation.ObservationConvention<GrpcServerObservationContext>
-
getContextualName
- Specified by:
getContextualName
in interfaceio.micrometer.observation.ObservationConvention<GrpcServerObservationContext>
-
getLowCardinalityKeyValues
public io.micrometer.common.KeyValues getLowCardinalityKeyValues(GrpcServerObservationContext context) - Specified by:
getLowCardinalityKeyValues
in interfaceio.micrometer.observation.ObservationConvention<GrpcServerObservationContext>
-