sample-rateopentracing

How to control sampling in Opentracing



I am new to opentracing and was trying it out.
Wanted to know is there a way to control sample rate and yes then how?
thanks, Sandy


Solution

  • This depends entirely upon which implementation you use. For example, both Brave and Jaeger support sampling, and I would expect most other implementations do as well. That said, the OpenTracing spec does not cover sampling at this time-- it only handles the API for how to create traces, and doesn't cover what happens to traces after they created.