Class DefaultScheduledTaskObservationConvention
java.lang.Object
org.springframework.scheduling.support.DefaultScheduledTaskObservationConvention
- All Implemented Interfaces:
io.micrometer.observation.KeyValuesConvention
,io.micrometer.observation.ObservationConvention<ScheduledTaskObservationContext>
,ScheduledTaskObservationConvention
public class DefaultScheduledTaskObservationConvention
extends Object
implements ScheduledTaskObservationConvention
Default implementation for
ScheduledTaskObservationConvention
.- Since:
- 6.1
- Author:
- Brian Clozel
-
Field Summary
Fields inherited from interface io.micrometer.observation.ObservationConvention
EMPTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected io.micrometer.common.KeyValue
protected io.micrometer.common.KeyValue
protected io.micrometer.common.KeyValue
exception
(ScheduledTaskObservationContext context) io.micrometer.common.KeyValues
getName()
protected io.micrometer.common.KeyValue
outcome
(ScheduledTaskObservationContext context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micrometer.observation.ObservationConvention
getHighCardinalityKeyValues
Methods inherited from interface org.springframework.scheduling.support.ScheduledTaskObservationConvention
supportsContext
-
Constructor Details
-
DefaultScheduledTaskObservationConvention
public DefaultScheduledTaskObservationConvention()
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceio.micrometer.observation.ObservationConvention<ScheduledTaskObservationContext>
-
getContextualName
- Specified by:
getContextualName
in interfaceio.micrometer.observation.ObservationConvention<ScheduledTaskObservationContext>
-
getLowCardinalityKeyValues
public io.micrometer.common.KeyValues getLowCardinalityKeyValues(ScheduledTaskObservationContext context) - Specified by:
getLowCardinalityKeyValues
in interfaceio.micrometer.observation.ObservationConvention<ScheduledTaskObservationContext>
-
codeFunction
-
codeNamespace
-
exception
-
outcome
-