opentelemetry_semantic_conventions::attribute

Constant DB_RESPONSE_STATUS_CODE

Source
pub const DB_RESPONSE_STATUS_CODE: &str = "db.response.status_code";
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"