Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,16 @@ class MappingsBuilder {
new HashSet<>(
asList(
"http.",
"db.",

// specifically listing out all standard db.* attributes
// so that db.cosmosdb.* attributes will be preserved
SemanticAttributes.DB_SYSTEM.getKey(),
SemanticAttributes.DB_NAME.getKey(),
SemanticAttributes.DB_STATEMENT.getKey(),
SemanticAttributes.DB_OPERATION.getKey(),
SemanticAttributes.DB_CONNECTION_STRING.getKey(),
SemanticAttributes.DB_USER.getKey(),
SemanticAttributes.DB_SQL_TABLE.getKey(),
"message.",
"messaging.",

Choose a reason for hiding this comment

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

can I do a similar change for messaging so we don't lose messaging.servicebus and similar attributes ?

"rpc.",
Expand Down