-
Notifications
You must be signed in to change notification settings - Fork 202
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
Conversation
...er/src/main/java/com/azure/monitor/opentelemetry/exporter/implementation/SpanDataMapper.java
Outdated
Show resolved
Hide resolved
@@ -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"; |
There was a problem hiding this comment.
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)
If it's not implemented on the portal yet, it should be soon (cc @OsvaldoRosado)
There was a problem hiding this comment.
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 👍
cc @lmolkova