How to disable or customize telemetry? #877
Replies: 2 comments 6 replies
-
|
HI @roeih-opti That's the only way to achieve this at the moment. But in the bigger picture, I'd strongly advise AGAINST disabling telemetry. This additional header is effectively the ONLY way our management knows whether people are using the SDKs. The lower the numbers the least incentive they have to invest in staffing to: publish weekly releases on time, triage GitHub issues, fix bugs, or even implement new features. This in turns puts your application in danger, since it has a dependency that you're actively contributing to reduce funding for, and which might get defunded/unmaintained as a consequence. If the concern is performance, the header itself is minimal, and with things like headers compression in HTTP/2, the difference is negligeable. If the concern is privacy, this is already reaching out to a service you don't own. And the only use of this header is in aggregates (how many active users/tenants/applications depend on the SDK). Let us know if you have any additional comments or questions. |
Beta Was this translation helpful? Give feedback.
-
|
Hi @baywet, Just to clarify, I’m not looking to disable the telemetry header, and performance or privacy aren’t big concerns in this case. I’m using a custom OTel-instrumented HTTP transport that better aligns with the schema and verbosity of our other instrumented HTTP traffic. Is there a recommended way to achieve this? Thanks again! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've noticed that telemetry collection is enabled by default in the SDK.
Unlike azure-sdk-for-go, I couldn't find a way to opt out or configure it.
The closest workaround I’ve found is to inject my own telemetry (and tracing) by customizing the HTTP transport, but it feels a bit awkward, as the transport is created and then replaced:
Is there a way to:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions