Semantic Conventions for SQL Databases
The SQL databases Semantic Conventions extend and override the Database Semantic Conventions that describe common database operations attributes in addition to the Semantic Conventions described on this page.
|string||The name of the primary table that the operation is acting upon, including the database name (if applicable). ||Recommended|
: It is not recommended to attempt any client-side parsing of
db.statement just to get this property, but it should be set if it is provided by the library being instrumented. If the operation is acting upon an anonymous table, or more than one table, this value MUST NOT be set.
This is an example of attributes for a MySQL database span: