-
Notifications
You must be signed in to change notification settings - Fork 207
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
Upload on blob storage produces "{AzureBlobStorageDiagnosticListener} Failed capturing DiagnosticSource event" error #1352
Comments
Hi @NicolasREY69330, Thanks for reporting. From initial investigation, it appears that the setting of the Sidenote: |
Hi @russcam |
We're encountering this as well and look forward to the next release. Any clue about a timeframe? |
This commit captures traces for new Azure Storage SDKs. In newer versions of Azure Storage SDKs, such as Azure.Storage.Blobs 12.9.0+, the destination url is no longer exposed on the operation activity. It is exposed on the Azure.Core child activity however. So, a listener is subscribed to listen for Azure.Core activities and copy the url from the child Azure.Core activity. Some newer versions of Azure Storage SDKs, such as Azure.Storage.Queues 12.7.0+, emit multiple activities for an individual method call, such as QueueClient.ReceiveMessage(). This commit attempts to ignore duplicate activities when a trace has already been started. Fixes #1352
APM Agent version and Azure Blob storage
Environment
Windows 10 WSL2 => Docker (Ubuntu)
.NET Framework/Core name and version and Application Target Framework(s)
<TargetFramework>net5.0</TargetFramework>
Describe the bug
When uploading a pdf file to Azure Blobstorage, APM is generating a listener error (when calling UploadAsync).
To Reproduce
Steps to reproduce the behavior:
appsettings.json
Expected behavior
No error
The text was updated successfully, but these errors were encountered: