How to set the sampling probobility of the opentelemetry agent?

39 views Asked by At

I am using open telemetry java agent to instrument an application. Basically just set the location of the agent in the VM options. I am trying to change the sampling probability.

Tried -Dota.trace.sampling.probability=0, but it still have trace_ids coming out to the backend.

0

There are 0 answers