How to support multiple samplers for multiple reporters?

149 Views Asked by At

When using Tracing.newBuilder() to create tracing, I found I can only specify 1 sampler and 1 reporter.

I'm trying to have:

  • 100% sample for reporter A
  • 1% sample for reporter B

Is it doable?

Thanks

Leon

1

There are 1 best solutions below

0
On

In Brave4,only one Tracing instance exist,so it can't be done.