Skip to content

Intermittent Missing Traces #7020

Answered by cbos
sabith-nadakkavil asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @sabith-nadakkavil

I think this has to do with your configuration.
This is related to Spring implementation, not the OpenTelemetry Java implemenation.

According to the documentation of Spring (https://docs.spring.io/spring-boot/reference/actuator/tracing.html):

By default, Spring Boot samples only 10% of requests to prevent overwhelming the trace backend. This property switches it to 100% so that every request is sent to the trace backend.
Configuration should look like this:

management:
  tracing:
    sampling:
      probability: 1.0

So this is management.tracing.sampling.probability, while in your config you have set it with management.otlp.tracing.sampler.probability.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sabith-nadakkavil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants