DataDog / dd-trace-py

Datadog Python APM Client
https://ddtrace.readthedocs.io/
Other
551 stars 413 forks source link

Override aiohttp `distributed_tracing` and `split_by_domain` options per instance? #10163

Open mike-oakley opened 3 months ago

mike-oakley commented 3 months ago

Summary of problem

I'd like to be able to configure on a per-client-session basis the aiohttp options to propagate distributed tracing headers and the split_by_domain option. From what I can see the Pin API only supports overriding the service name and the config is a private variable of the class - am I missing something?

Which version of dd-trace-py are you using?

2.10.3

Which version of pip are you using?

24.2

Which libraries and their versions are you using?

aiohttp 3.9.2

Thanks for your help!

emmettbutler commented 2 months ago

@mike-oakley I don't think you're missing anything. This functionality isn't currently supported.