rama::telemetry::opentelemetry::semantic_conventions::trace

Constant DB_RESPONSE_STATUS_CODE

pub const DB_RESPONSE_STATUS_CODE: &'static str;
Expand description

Database response status code.

§Notes

The status code returned by the database. Usually it represents an error code, but may also represent partial success, warning, or differentiate between various types of successful outcomes. Semantic conventions for individual database systems SHOULD document what db.response.status_code means in the context of that system. This attribute has stability level RELEASE CANDIDATE.

§Examples

  • "102"
  • "ORA-17002"
  • "08P01"
  • "404"