Constant opentelemetry_semantic_conventions::trace::DB_OPERATION [−][src]
pub const DB_OPERATION: Key;
The name of the operation being executed.
e.g. the MongoDB command name such as findAndModify
.
While it would semantically make sense to set this, e.g., to a SQL keyword
like SELECT
or INSERT
, it is not recommended to attempt any client-side
parsing of db.statement
just to get this property (the back end can do
that if required).