spring-projects-experimental / spring-cloud-sleuth-otel

Spring Cloud Sleuth support for OpenTelemetry
https://spring-projects-experimental.github.io/spring-cloud-sleuth-otel/docs/current/reference/html/
Apache License 2.0
111 stars 33 forks source link

Why exclude Brave from sleuth? #162

Closed chen-junl closed 1 year ago

chen-junl commented 1 year ago

Sleuth3.x.x only adds traceId and spanId to the MDC image

But I want to add parentId to my log So I extended the CorrelationScopeCustomizer in the project image

However, due to the need to exclude the sleuth-otel, after adding the exclude Brave At this point, the dependency cannot be found image

jonatan-ivanov commented 1 year ago

You need to decide if you want to use Brave or OTel, if you use the default starter, you should have Brave but in that case you should not use OTel.