Skip to content

Better mapping of cosmos telemetry#2906

Merged
trask merged 5 commits into
mainfrom
fix-cosmos-dependency-type
Feb 22, 2023
Merged

Better mapping of cosmos telemetry#2906
trask merged 5 commits into
mainfrom
fix-cosmos-dependency-type

Conversation

@trask

@trask trask commented Feb 11, 2023

Copy link
Copy Markdown
Member

@trask trask marked this pull request as ready for review February 13, 2023 17:09
}
} else if (dbSystem.equals("Cosmos")) {
// this has special icon in portal (documentdb was the old name for cosmos)
type = "azure documentdb";

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we had a long conversation between portal and cosmos team and decided that using RP namespace is the best choice (Microsoft.DocumentDB for client spans, InProc | Microsoft.DocumentDB for internal spans)

https://github.com/microsoft/ApplicationInsights-dotnet/blob/18be714998a846aba7e9b673d47eece67be2d3dc/WEB/Src/DependencyCollector/DependencyCollector/Implementation/AzureSdk/AzureSdkDiagnosticsEventHandler.cs#L20-L22

If it's not implemented on the portal yet, it should be soon (cc @OsvaldoRosado)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx! Microsoft.DocumentDB didn't have an image yet when I tested, but went ahead and changed it to avoid churn on the data 👍

@trask trask merged commit 8d34a55 into main Feb 22, 2023
@trask trask deleted the fix-cosmos-dependency-type branch February 22, 2023 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants