microsoft / ApplicationInsights-dotnet

ApplicationInsights-dotnet
MIT License
564 stars 287 forks source link

Database and Collection names are not displayed correctly for CosmosDB SDK 3.43 #2903

Closed piotr-rojek closed 3 weeks ago

piotr-rojek commented 1 month ago

Describe the bug

After changes to Azure/azure-cosmos-dotnet-v3 OpenTelemetryAttributeKeys.cs done in https://github.com/Azure/azure-cosmos-dotnet-v3/pull/4622, the code in microsoft/ApplicationInsights-dotnet AzureSdkDiagnosticsEventHandler.cs cannot find database and collection names anymore.

image

To Reproduce

We will close this issue if:

reyang commented 1 month ago

@lmolkova FYI.

reyang commented 1 month ago

@rajkumar-rangaraj could you follow up with Azure SDK team to see if any test / process improvements should be made?

piotr-rojek commented 3 weeks ago

Fixed in CosmosDB SDK 3.44.1/3.45