ApplicationInsights-Java
ApplicationInsights-Java copied to clipboard
Question: How to turn off instrumentation of just Azure Service Bus
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)