opentelemetry-python icon indicating copy to clipboard operation
opentelemetry-python copied to clipboard

Allow of configuration of Sampler in auto-instrumentation

Open lzchen opened this issue 3 years ago • 2 comments

Similar to id generator, allow for custom samplers to be configured as part of autoinstrumentation.

lzchen avatar Jun 07 '22 18:06 lzchen

Did you mean providing them with entrypoint style? One could configure the SDK samplers with env today.

srikanthccv avatar Jun 07 '22 19:06 srikanthccv

Yes entrypoint style. I don't believe someone can configure a custom sampler with an env var.

lzchen avatar Jun 07 '22 20:06 lzchen