[FEATURE REQ]Keep Open Telemetry attributes prefixed with db.comsosdb.* for dependency/span events #34128
Open
2 tasks done
Labels
Client
This issue points to a problem in the data-plane of the library.
Monitor
Monitor, Monitor Ingestion, Monitor Query
OpenTelemetry
OpenTelemetry instrumentation
Is your feature request related to a problem? Please describe.
Currently the applicationInsights-agent (3.4.10) is not adding attributes prefixed with db.cosmosdb.* to the dependency entity - see https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/monitor/azure-monitor-opentelemetry-exporter/src/main/java/com/azure/monitor/opentelemetry/exporter/implementation/SpanDataMapper.java. The .Net AI DependencyCollector is keeping them - which allows customers to see and query them. Is it possible to adjust the behavior in Java as well?
Describe the solution you'd like
Like in .Net - https://github.com/microsoft/ApplicationInsights-dotnet/blob/24e5b04e8f8a08de8efd1a973293e65914dd3df5/WEB/Src/DependencyCollector/DependencyCollector/Implementation/AzureSdk/AzureSdkDiagnosticsEventHandler.cs#L378 - keep the attributes prefixed with "db.cosmosdb.*" on the dependency entity in AI.
Describe alternatives you've considered
n/a
Additional context
n/a
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
The text was updated successfully, but these errors were encountered: