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

Better mapping of cosmos telemetry #2906

Merged
merged 5 commits into from
Feb 22, 2023
Merged

Better mapping of cosmos telemetry #2906

merged 5 commits into from
Feb 22, 2023

Conversation

trask
Copy link
Member

@trask trask commented Feb 11, 2023

@trask trask marked this pull request as ready for review February 13, 2023 17:09
@@ -392,16 +396,31 @@ private static void applyDatabaseClientSpan(
} else {
type = "SQL";
}
} else if (dbSystem.equals("Cosmos")) {
// this has special icon in portal (documentdb was the old name for cosmos)
type = "azure documentdb";
Copy link
Member

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
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