Class TracingProperties.Mdc
java.lang.Object
org.springframework.boot.micrometer.tracing.autoconfigure.TracingProperties.Mdc
- Enclosing class:
TracingProperties
org.slf4j.MDC key configuration for trace and span IDs.- Since:
- 4.0.0
- Author:
- Moritz Halbritter, Jonatan Ivanov
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn whether any of the keys differs from its default.voidsetSpanIdKey(String spanIdKey) voidsetTraceIdKey(String traceIdKey)
-
Constructor Details
-
Mdc
public Mdc()
-
-
Method Details
-
getTraceIdKey
-
setTraceIdKey
-
getSpanIdKey
-
setSpanIdKey
-
isCustomized
public boolean isCustomized()Return whether any of the keys differs from its default.- Returns:
- whether the keys have been customized
-