-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Description
Intro
I've been working with spring sleuth Zipkin in Spring Boot 2.x in Combination with Jaeger
This helped me to get connected Spans between two Spring Boot Applications, via RestTemplate
Now wit Boot 3.0 i have some puzzeling questions i cannot figure out.
I already read these two articles/documentation:
- https://docs.spring.io/spring-boot/docs/3.0.0-SNAPSHOT/reference/html/actuator.html#actuator.micrometer-tracing
-https://spring.io/blog/2022/10/12/observability-with-spring-boot-3
As well as reading the code
But as I am now stuck for 2 weeks, it would be nice if someone can help me out here.
As dependencies I am using the followling, but also tried the "otel" variants
implementation 'io.micrometer:micrometer-tracing-bridge-brave'
implementation 'io.zipkin.reporter2:zipkin-reporter-brave'
Question 1
With Spring Security enabled (and Cicrcuitbreaker) a lot of additional Info concerning the Filterhchains is added. (Image attached)
Is there a way to disable this ?
Question2
I "guess" in AOT mode observability has become a compile time property. (got this from the latest Devoxx Video)
In the veins of it's either enabled or disabled during compile time and not modifiable during runtime ?
Question 3
While with Sleuth, Boot 2.x + Resttemplate i get interconnected spans between my two applications.
This is not working with Boot 3.x ... I just get 2 seperated spans for each of my Applications.
Following the documentation above it is a little unclear for me if resttemplate will automatically get instrumented
and create the spans .. like it is was done in the past .. or not.
Thank you