db.response.status_code
Stablestringas of v1.44.0
Database response status code.
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.
Examples
- 102
- ORA-17002
- 08P01
- 404
Used by
metrics (3)
- azure.cosmosdb.client.operation.request_charge
- db.client.operation.duration
- db.client.response.returned_rows
spans (21)
- span.azure.cosmosdb.client
- span.db.cassandra.client
- span.db.cassandra.client
- span.db.client
- span.db.couchdb.client
- span.db.elasticsearch.client
- span.db.hbase.client
- span.db.mariadb.client
- span.db.mariadb.client
- span.db.mongodb.client
- span.db.mysql.client
- span.db.mysql.client
- span.db.oracledb.client
- span.db.oracledb.client
- span.db.postgresql.client
- span.db.postgresql.client
- span.db.redis.client
- span.db.redis.client
- span.db.sql_server.client
- span.db.sql_server.client
- span.db.sql.client
* required on that signal.
History
- v1.33.0stability
Promoted to stable.
Already present at v1.30.0, the oldest release tracked here (release_candidate).