Best sampling strategy for opentelemetry & jaeger architecture #4462
Replies: 2 comments
-
/cc @jpkrohling |
Beta Was this translation helpful? Give feedback.
-
Use this if you cannot afford to send data from your application to a collector somewhere.
I prefer this one, as you can radically change your strategy without touching the applications.
Jaeger supports sampling at the collector side as well. Look at the flag
If you are interested in tail-based sampling, you can have a setup like this:
The load balancer is a collector instance with the load balancing exporter. |
Beta Was this translation helpful? Give feedback.
-
Hi,
Iam working on setting up a tracing tool. The data flow would be - application -> otel-collector-> jaeger.
I want to enable sampling in my setup. These are the ways i have explored -
I have explored about tail based sampling. I see that there is a processor for that usecase on otel-contrib repo - https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/processor/tailsamplingprocessor. But it doesn't support multiple instances of otel-collector.
Please suggest me a best way to implement sampling for my setup. It would be great if you can suggest something related to tail based sampling
Note- I'm using autoinstrumentation
Beta Was this translation helpful? Give feedback.
All reactions