Skip to content

Commit

Permalink
Update doc with cardinality warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tammy-baylis-swi committed Dec 20, 2024
1 parent 5d21d6c commit 3b97e64
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@
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.
Usage
-----
Expand Down

0 comments on commit 3b97e64

Please sign in to comment.