Constant opentelemetry_semantic_conventions::trace::DB_SQL_TABLE[][src]

pub const DB_SQL_TABLE: Key;
Expand description

The name of the primary table that the operation is acting upon, including the schema name (if applicable).

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.

Examples

  • public.users
  • customers