Class DefaultExecutionRequestObservationConvention
java.lang.Object
org.springframework.graphql.observation.DefaultExecutionRequestObservationConvention
- All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention
,io.micrometer.observation.ObservationConvention<ExecutionRequestObservationContext>
,ExecutionRequestObservationConvention
public class DefaultExecutionRequestObservationConvention
extends Object
implements ExecutionRequestObservationConvention
Default implementation for a
ExecutionRequestObservationConvention
extracting information from a ExecutionRequestObservationContext
.- Since:
- 1.1.0
- Author:
- Brian Clozel
-
Field Summary
Fields inherited from interface io.micrometer.observation.ObservationConvention
EMPTY
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected io.micrometer.common.KeyValue
io.micrometer.common.KeyValues
io.micrometer.common.KeyValues
getName()
protected io.micrometer.common.KeyValue
protected io.micrometer.common.KeyValue
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.graphql.observation.ExecutionRequestObservationConvention
supportsContext
-
Constructor Details
-
DefaultExecutionRequestObservationConvention
public DefaultExecutionRequestObservationConvention() -
DefaultExecutionRequestObservationConvention
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceio.micrometer.observation.ObservationConvention<ExecutionRequestObservationContext>
-
getContextualName
- Specified by:
getContextualName
in interfaceio.micrometer.observation.ObservationConvention<ExecutionRequestObservationContext>
-
getLowCardinalityKeyValues
public io.micrometer.common.KeyValues getLowCardinalityKeyValues(ExecutionRequestObservationContext context) - Specified by:
getLowCardinalityKeyValues
in interfaceio.micrometer.observation.ObservationConvention<ExecutionRequestObservationContext>
-
outcome
-
operation
-
getHighCardinalityKeyValues
public io.micrometer.common.KeyValues getHighCardinalityKeyValues(ExecutionRequestObservationContext context) - Specified by:
getHighCardinalityKeyValues
in interfaceio.micrometer.observation.ObservationConvention<ExecutionRequestObservationContext>
-
executionId
-