-
public interface TracingCustomizerThis allows configuration plugins to collaborate on building an instance ofTracing.For example a customizer can configure
finished span handlerswithout having to also configurespan reporting.Integration examples
In practice, a dependency injection tool applies a collection of these instances prior to
building the tracing instance. For example, an injectedList<TracingCustomizer>parameter to a provider ofTracing.Here are some examples, in alphabetical order:
- Since:
- 5.7
- See Also:
CurrentTraceContextCustomizer,ExtraFieldCustomizer
-
-
Field Summary
Fields Modifier and Type Field Description static TracingCustomizerNOOPUse to avoid comparing against null references
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcustomize(Tracing.Builder builder)
-
-
-
Field Detail
-
NOOP
static final TracingCustomizer NOOP
Use to avoid comparing against null references
-
-
Method Detail
-
customize
void customize(Tracing.Builder builder)
-
-