-
public interface ExtraFieldCustomizerThis allows configuration plugins to collaborate on building an instance ofExtraFieldPropagation.Factory.For example, a customizer can
add an extra field fieldwithout affecting thetrace propagation format.This also allows one object to customize both
Tracing, viaTracingCustomizer, and extra fieldsExtraFieldPropagation, by implementing both customizer interfaces.Integration examples
In practice, a dependency injection tool applies a collection of these instances prior to
building the tracing instance. For example, an injectedList<ExtraFieldPropagationCustomizer>parameter to a provider ofPropagation.Factory.Here are some examples, in alphabetical order:
- Since:
- 5.7
- See Also:
CurrentTraceContextCustomizer,TracingCustomizer
-
-
Field Summary
Fields Modifier and Type Field Description static ExtraFieldCustomizerNOOPUse to avoid comparing against null references
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcustomize(ExtraFieldPropagation.FactoryBuilder builder)
-
-
-
Field Detail
-
NOOP
static final ExtraFieldCustomizer NOOP
Use to avoid comparing against null references
-
-
Method Detail
-
customize
void customize(ExtraFieldPropagation.FactoryBuilder builder)
-
-