Constant opentelemetry_semantic_conventions::trace::DB_NAME[][src]

pub const DB_NAME: Key;
Expand description

If no tech-specific attribute is defined, this attribute is used to report the name of the database being accessed. For commands that switch the database, this should be set to the target database (even if the command fails).

In some SQL databases, the database name to be used is called "schema name".

Examples

  • customers
  • main