-
Notifications
You must be signed in to change notification settings - Fork 517
Description
Describe the bug
We have upgraded to the latest version of cosmos (3.43.1) - upgrade from 3.41.0 and we have noticed that Cosmos Dependency Tracking on App Insights Dependency table doesn't have the following information:
- target
- name
These aren't being populated and currently show as n/a
in App Insight's dependencies table.
To Reproduce
Install the packages: Microsoft.Azure.Cosmos 3.43.1
(latest at time of writing)
Install latest package of ApplicationInsights: Microsoft.ApplicationInsights 2.22.0
Make SDK operations to Cosmos e.g. CreateItemStreamAsync
or ReadItemStreamAsync
.
Expected behavior
Expected to see target
and name
populated correctly in the dependencies
table in app insights- like previous nuget package (3.41.0)
Actual behavior
Target
and name
are showing as n/a
in the dependencies
table in app insights.
Environment summary
SDK Version: 3.43.1
OS Version (e.g. Windows, Linux, MacOSX): .net8 (linux & win11)
Additional context
Based on quick look at Cosmos and Application Insights source code, App Insights expects the db.operation
and db.name
to populate the name and target fields. Link here.
However, these tag names have been recently changed in the Cosmos SDK as part of this change.
Is this an intentional change? Is there any intention for this to be fixed?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status