Skip to content

Commit

Permalink
Update instrumentation/opentelemetry-instrumentation-sqlalchemy/src/o…
Browse files Browse the repository at this point in the history
…pentelemetry/instrumentation/sqlalchemy/__init__.py

Co-authored-by: Leighton Chen <[email protected]>
  • Loading branch information
tammy-baylis-swi and lzchen authored Dec 20, 2024
1 parent 3b97e64 commit 8f45aaf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
For example,
::
Invoking engine.execute("select * from auth_users") will lead to sql query "select * from auth_users" but when SQLCommenter and attribute_commenter is enabled
Invoking `engine.execute("select * from auth_users")` will lead to sql query "select * from auth_users" but when SQLCommenter and `attribute_commenter` is enabled
the query will get appended with some configurable tags like "select * from auth_users /*tag=value*/;" for both server query and `db.statement` span attribute.
Warning: capture of sqlcomment in ``db.statement`` or ``db.query.text`` may have high cardinality without platform normalization. See `Semantic Conventions for database spans <https://opentelemetry.io/docs/specs/semconv/database/database-spans/#generating-a-summary-of-the-query-text>`_ for more information.
Expand Down

0 comments on commit 8f45aaf

Please sign in to comment.