Skip to content

Commit

Permalink
Update missing modification from db.operation to db.operation.name (
Browse files Browse the repository at this point in the history
  • Loading branch information
steverao authored Apr 9, 2024
1 parent 4966926 commit ccb6db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/database/database-spans.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ The **span name** SHOULD be set to a low cardinality value representing the stat
It MAY be a stored procedure name (without arguments), DB statement without variable arguments, operation name, etc.
Since SQL statements may have very high cardinality even without arguments, SQL spans SHOULD be named the
following way, unless the statement is known to be of low cardinality:
`<db.operation.name> <db.name>.<db.collection.name>`, provided that `db.operation` and `db.collection.name` are available.
`<db.operation.name> <db.name>.<db.collection.name>`, provided that `db.operation.name` and `db.collection.name` are available.
If `db.collection.name` is not available due to its semantics, the span SHOULD be named `<db.operation.name> <db.name>`.
It is not recommended to attempt any client-side parsing of `db.statement` just to get these properties,
they should only be used if the library being instrumented already provides them.
Expand Down

0 comments on commit ccb6db6

Please sign in to comment.