Skip to content

Commit ff2afa9

Browse files
committed
Use append by default
1 parent 653f9b3 commit ff2afa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/database/database-spans.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ relatively short and its cardinality remains low comparing to the `db.query.text
489489
490490
Instrumentations MAY propagate context using [SQL commenter](https://google.github.io/sqlcommenter/spec/) by injecting comments into SQL queries before execution. Context propagation SHOULD NOT be enabled by default, but instrumentation MAY allow users to opt into it.
491491
492-
The instrumentation implementation MAY choose to either **append** the comment to the end of the query or **prepend** the comment at the beginning of the query. Semantic conventions for individual database systems MAY specify different format depending on the specific database system's requirements or preferences.
492+
The instrumentation implementation SHOULD **append** the comment to the end of the query. Semantic conventions for individual database systems MAY specify different format depending on the specific database system's requirements or preferences. For instance, the instrumentation MAY **prepend** the comment at the beginning of the query.
493493

494494
The instrumentation SHOULD allow users to pass a propagator to overwrite the global propagator.
495495

0 commit comments

Comments
 (0)