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

Incorrect parent ID for Azure Storage SDK dependency calls #2839

Open
DJ4ddi opened this issue Jan 4, 2024 · 0 comments
Open

Incorrect parent ID for Azure Storage SDK dependency calls #2839

DJ4ddi opened this issue Jan 4, 2024 · 0 comments
Labels

Comments

@DJ4ddi
Copy link

DJ4ddi commented Jan 4, 2024

  • Packages:
    • Microsoft.ApplicationInsights.AspNetCore 2.22.0
    • Azure.Storage.Blobs 12.19.1
  • Runtime version: net6.0
  • Hosting environment: Azure App Service (linux container)

Describe the bug

When tracking Azure Storage calls from the Azure.Storage.Blobs SDK using the latest Application Insights SDK, some dependencies have the wrong parent ID. Specifically, items of type InProc | Microsoft.Storage are correct, but Azure blob are not. The incorrect ID seems to be random and doesn't appear anywhere else. The operation ID is correct.

You can find more details in #1915, which was supposedly fixed in AI 2.15. I received no response there, so I'm opening this ticket.

To Reproduce

Refer to the linked issue. Essentially, the steps are:

  • Create an ASP.NET Core project. Reference the AI SDK and Azure Storage Blobs SDK.
  • Add any storage SDK call in any request of the default controller created by the template.
  • Run a request on the endpoint that you added the storage call to. Observe how storage operations are tracked twice (once as InProc, once as Azure blob), but only one of them has the request ID as its parent ID.
@DJ4ddi DJ4ddi added the bug label Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant