Adds integration of new customizers in Brave

fixes gh-1436
This commit is contained in:
Marcin Grzejszczak
2019-09-06 11:26:40 +02:00
parent 6ce2df4c1f
commit 3ab6ec26d7
6 changed files with 151 additions and 5 deletions

View File

@@ -833,6 +833,16 @@ Running the preceding method with a value of `15` leads to setting a tag with a
== Customizations
=== Customizers
With Brave 5.7 you have various options of providing customizers for your project. Brave ships with
* `TracingCustomizer` - allows configuration plugins to collaborate on building an instance of `Tracing`.
* `CurrentTraceContextCustomizer` - allows configuration plugins to collaborate on building an instance of `CurrentTraceContext`.
* `ExtraFieldCustomizer` - allows configuration plugins to collaborate on building an instance of `ExtraFieldPropagation.Factory`.
Sleuth will search for beans of those types and automatically apply customizations.
=== HTTP
If a customization of client / server parsing of the HTTP related spans is required,