Merge branch 'main' into 3.1.x
This commit is contained in:
@@ -75,6 +75,7 @@
|
||||
|spring.sleuth.sampler.refresh.enabled | `true` | Enable refresh scope for sampler.
|
||||
|spring.sleuth.scheduled.enabled | `true` | Enable tracing for {@link org.springframework.scheduling.annotation.Scheduled}.
|
||||
|spring.sleuth.scheduled.skip-pattern | | Pattern for the fully qualified name of a class that should be skipped.
|
||||
|spring.sleuth.session.enabled | `true` | Enable Spring Session instrumentation.
|
||||
|spring.sleuth.span-filter.additional-span-name-patterns-to-ignore | | Additional list of span names to ignore. Will be appended to {@link #spanNamePatternsToSkip}.
|
||||
|spring.sleuth.span-filter.enabled | `false` | Will turn on the default Sleuth handler mechanism. Might ignore exporting of certain spans;
|
||||
|spring.sleuth.span-filter.span-name-patterns-to-skip | `^catalogWatchTaskScheduler$` | List of span names to ignore. They will not be sent to external systems.
|
||||
|
||||
@@ -434,7 +434,21 @@ include::{project-root}/benchmarks/src/main/java/org/springframework/cloud/sleut
|
||||
|
||||
This feature is available for Brave tracer implementation.
|
||||
|
||||
We set `tracing` property to Lettuce `ClientResources` instance to enable Brave tracing built in Lettuce .
|
||||
We set `tracing` property to Lettuce `ClientResources` instance to enable Brave tracing built in Lettuce.
|
||||
|
||||
Spring Cloud Sleuth will provide a traced version of the `ClientResources` bean. If you have your own implementation of that bean, remember to customize the `ClientResources.Builder` with a stream of `ClientResourcesBuilderCustomizer`s like presented below:
|
||||
|
||||
[source,java,indent=0]
|
||||
----
|
||||
@Bean(destroyMethod = "shutdown")
|
||||
DefaultClientResources myLettuceClientResources(ObjectProvider<ClientResourcesBuilderCustomizer> customizer) {
|
||||
DefaultClientResources.Builder builder = DefaultClientResources.builder();
|
||||
// setting up the builder manually
|
||||
customizer.stream().forEach(c -> c.customize(builder));
|
||||
return builder.build();
|
||||
}
|
||||
----
|
||||
|
||||
To disable Redis support, set the `spring.sleuth.redis.enabled` property to `false`.
|
||||
|
||||
[[sleuth-runnablecallable-integration]]
|
||||
|
||||
Reference in New Issue
Block a user