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.core.instrument.binder.grpc.GrpcServerObservationConvention
UNKNOWNFields inherited from interface io.micrometer.observation.ObservationConvention
EMPTY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micrometer.core.instrument.binder.grpc.GrpcServerObservationConvention
supportsContextMethods inherited from interface io.micrometer.observation.ObservationConvention
getHighCardinalityKeyValues
-
Constructor Details
-
DefaultGrpcServerObservationConvention
public DefaultGrpcServerObservationConvention()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceio.micrometer.observation.ObservationConvention<GrpcServerObservationContext>
-
getContextualName
- Specified by:
getContextualNamein interfaceio.micrometer.observation.ObservationConvention<GrpcServerObservationContext>
-
getLowCardinalityKeyValues
public io.micrometer.common.KeyValues getLowCardinalityKeyValues(GrpcServerObservationContext context) - Specified by:
getLowCardinalityKeyValuesin interfaceio.micrometer.observation.ObservationConvention<GrpcServerObservationContext>
-