db.response.status_code
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.
The value MAY use a standardized string representation of a numeric status code, if one exists, instead of the numeric code. The value MAY be a synthetic status provided by the client library rather than returned by the remote service.
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
spans (14)
- db.client
- db.client
- db.client
- db.client
- db.client
- db.client
- db.client
- db.client
- db.client
- db.client
- db.client
- db.client
- db.client
- db.client
metrics (3)
- azure.cosmosdb.client.operation.request_charge
- db.client.operation.duration
- db.client.response.returned_rows
* required on that signal.
History
No longer referenced by
attributes.azure.cosmosdb.minimal,attributes.db.client.minimaland 19 others.- v1.45.0Usage
Now referenced by
azure.cosmosdb.client.detailed,db.clientand 2 others (conditionally required). No longer referenced by
span.db.mssql.client.Now referenced by
span.db.oracledb.clientandspan.db.sql_server.client(recommended).- v1.33.0Stability
Promoted to stable.
Already present at v1.30.0, the oldest release tracked here (release_candidate).