Package brave
Interface TracingCustomizer
public interface TracingCustomizer
This allows configuration plugins to collaborate on building an instance of
Tracing.
For example a customizer can configure finished span handlers without having to also configure span reporting.
Integration examples
In practice, a dependency injection tool applies a collection of these instances prior to
building the tracing instance. For example, an injected
List<TracingCustomizer> parameter to a provider of Tracing.
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
Modifier and Type Method Description voidcustomize(Tracing.Builder builder)