pub const ERROR_TYPE: &str = "error.type";
Expand description

Describes a class of error the operation ended with.

The error.type SHOULD match the error code returned by the database or the client library, the canonical name of exception that occurred, or another low-cardinality error identifier. Instrumentations SHOULD document the list of errors they report.

§Examples

  • timeout
  • java.net.UnknownHostException
  • server_certificate_invalid
  • 500