Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: How to turn off instrumentation of just Azure Service Bus #3668

Open
xsmrcek opened this issue Apr 25, 2024 · 0 comments
Open

Question: How to turn off instrumentation of just Azure Service Bus #3668

xsmrcek opened this issue Apr 25, 2024 · 0 comments

Comments

@xsmrcek
Copy link

xsmrcek commented Apr 25, 2024

Hello,
thanks to some historical reasons (DAPR, etc) we age using custom instrumentation of Azure Service bus messaging.
I would like to be able to turn of default instrumentation. On some small services I can use:
Env property:

- name: APPLICATIONINSIGHTS_INSTRUMENTATION_AZURE_SDK_ENABLED
  value: "false"

But I am afraid I would turn on instrumentation of another azure services like CosmosDB. Is there a way how to turn instrumentation of azure service bus off? I was thinking about sampling overrides, but wan to turn off instrumentatoin itself (creating of Spans etc), not just exporting them to applicatoin insights.

(I am using agent version 3.4.19 currently)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant