Class DefaultFunctionObservationConvention
java.lang.Object
org.springframework.cloud.function.observability.DefaultFunctionObservationConvention
- All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention
,io.micrometer.observation.ObservationConvention<FunctionContext>
,FunctionObservationConvention
public class DefaultFunctionObservationConvention
extends Object
implements FunctionObservationConvention
Default implementation of
FunctionReceiverObservationConvention
.- Since:
- 4.0.0
- Author:
- Marcin Grzejszczak
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FunctionObservationConvention
Singleton instance of this convention.Fields inherited from interface io.micrometer.observation.ObservationConvention
EMPTY
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetContextualName
(FunctionContext context) io.micrometer.common.KeyValues
getName()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.cloud.function.observability.FunctionObservationConvention
supportsContext
Methods inherited from interface io.micrometer.observation.ObservationConvention
getHighCardinalityKeyValues
-
Field Details
-
INSTANCE
Singleton instance of this convention.
-
-
Constructor Details
-
DefaultFunctionObservationConvention
public DefaultFunctionObservationConvention()
-
-
Method Details
-
getLowCardinalityKeyValues
- Specified by:
getLowCardinalityKeyValues
in interfaceio.micrometer.observation.ObservationConvention<FunctionContext>
-
getName
- Specified by:
getName
in interfaceio.micrometer.observation.ObservationConvention<FunctionContext>
-
getContextualName
- Specified by:
getContextualName
in interfaceio.micrometer.observation.ObservationConvention<FunctionContext>
-