Class ModulithContext
java.lang.Object
io.micrometer.observation.Observation.Context
org.springframework.modulith.observability.support.ModulithContext
- All Implemented Interfaces:
io.micrometer.observation.Observation.ContextView
public class ModulithContext
extends io.micrometer.observation.Observation.Context
A
Observation.Context
for Modulithic applications.- Since:
- 1.4
- Author:
- Marcin Grzejsczak, Oliver Drotbohm
-
Constructor Summary
ConstructorsConstructorDescriptionModulithContext
(ObservedModule module, MethodInvocation invocation, Environment environment) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class io.micrometer.observation.Observation.Context
addHighCardinalityKeyValue, addHighCardinalityKeyValues, addLowCardinalityKeyValue, addLowCardinalityKeyValues, clear, computeIfAbsent, containsKey, get, getAllKeyValues, getContextualName, getError, getHighCardinalityKeyValue, getHighCardinalityKeyValues, getLowCardinalityKeyValue, getLowCardinalityKeyValues, getName, getOrDefault, getParentObservation, getRequired, put, remove, removeHighCardinalityKeyValue, removeHighCardinalityKeyValues, removeLowCardinalityKeyValue, removeLowCardinalityKeyValues, setContextualName, setError, setName, setParentObservation, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.micrometer.observation.Observation.ContextView
getOrDefault
-
Constructor Details
-
ModulithContext
- Parameters:
module
- must not be null.invocation
- must not be null.environment
- must not be null.
-
-
Method Details
-
getModule
-
getInvocation
-
getApplicationName
-