Skip to content

Spring Boot 3.0 (RC2) Observability Questions #33275

@goafabric

Description

@goafabric

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:

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

Bildschirm­foto 2022-11-19 um 11 25 49

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: external-projectFor an external project and not something we can fixfor: stackoverflowA question that's better suited to stackoverflow.comstatus: invalidAn issue that we don't feel is valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions