0

I'm using Spring Boot 3.5.7 and micrometer-tracing-bridge-otel.

My goal is to add the traceId in the logs.

I have the following configuration in my application.yml:

management:
  tracing:
    enabled: true
  otel:
    traces:
    sampler:
      probability: 1.0

I have a few endpoints that I want to exclude, meaning I don't want the traceId to appear for those specific endpoints.

How can I ignore these endpoints from tracing?

1

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.