You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When viewing the Request telemetry in Application Insights, it would show up under "Custom Properties". Which isn't the case for the newer library, Azure.Messaging.ServiceBus.
I've looked into why this might be, and found that the libraries use different DiagnosticEventHandlers: Microsoft.Azure.ServiceBus uses ServiceBusDiagnosticsEventHandler which populates every tag on the Activity in the method OnEvent Azure.Messaging.ServiceBus uses AzureSdkDiagnosticsEventHandler, overrides PopulateTags, but doesn't populate the telemetry object.
Was this an intended change, and is there an alternative that I can use?
The text was updated successfully, but these errors were encountered:
Hi,
Previously, when using the library, Microsoft.Azure.ServiceBus, if I added a custom property to the activity like so:
When viewing the Request telemetry in Application Insights, it would show up under "Custom Properties". Which isn't the case for the newer library, Azure.Messaging.ServiceBus.
I've looked into why this might be, and found that the libraries use different DiagnosticEventHandlers:
Microsoft.Azure.ServiceBus uses ServiceBusDiagnosticsEventHandler which populates every tag on the Activity in the method OnEvent
Azure.Messaging.ServiceBus uses AzureSdkDiagnosticsEventHandler, overrides PopulateTags, but doesn't populate the telemetry object.
Was this an intended change, and is there an alternative that I can use?
The text was updated successfully, but these errors were encountered: