Class DefaultGatewayObservationConvention
java.lang.Object
org.springframework.cloud.gateway.filter.headers.observation.DefaultGatewayObservationConvention
- All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention, io.micrometer.observation.ObservationConvention<GatewayContext>, GatewayObservationConvention
public class DefaultGatewayObservationConvention
extends Object
implements GatewayObservationConvention
Default implementation of the
GatewayObservationConvention.- Since:
- 4.0.0
- Author:
- Marcin Grzejszczak
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GatewayObservationConventionDefault instance of theDefaultGatewayObservationConvention.Fields inherited from interface io.micrometer.observation.ObservationConvention
EMPTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetContextualName(GatewayContext context) io.micrometer.common.KeyValuesio.micrometer.common.KeyValuesgetLowCardinalityKeyValues(GatewayContext context) getName()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GatewayObservationConvention
supportsContext
-
Field Details
-
INSTANCE
Default instance of theDefaultGatewayObservationConvention.
-
-
Constructor Details
-
DefaultGatewayObservationConvention
public DefaultGatewayObservationConvention()
-
-
Method Details
-
getLowCardinalityKeyValues
- Specified by:
getLowCardinalityKeyValuesin interfaceio.micrometer.observation.ObservationConvention<GatewayContext>
-
getHighCardinalityKeyValues
- Specified by:
getHighCardinalityKeyValuesin interfaceio.micrometer.observation.ObservationConvention<GatewayContext>
-
getName
- Specified by:
getNamein interfaceio.micrometer.observation.ObservationConvention<GatewayContext>
-
getContextualName
- Specified by:
getContextualNamein interfaceio.micrometer.observation.ObservationConvention<GatewayContext>
-