-
Notifications
You must be signed in to change notification settings - Fork 337
Rename db.operation to db.operation.name for future proofing #884
Description
This will give us the chance to add more attributes under the db.operation.* namespace post-stabilization.
In particular, @lmolkova's #875 (comment):
I think we might entertain the idea of
db.operation.durationmetric (and it might still be an open question for messaging metrics since operation list is an open set).In case of databases, we have a precedent when CosmosDB records operation name (e.g.
ReadItems) along withdb.cosmosdb.operation_type(e.g.Read). We might want to generalize at some point.
If we translated it to messaging, we'd do something likemessaging.operation.type = settle, messaging.operation.name = ack.
and #875 (comment):
Also, graphql has
operation.nameandoperation.type- https://github.com/open-telemetry/semantic-conventions/blob/main/docs/graphql/graphql-spans.md