semconv.com

error.message

Deprecatedstringas of v1.44.0

A message providing more detail about an error in human-readable form.

error.message should provide additional context and detail about an error. It is NOT RECOMMENDED to duplicate the value of error.type in error.message. It is also NOT RECOMMENDED to duplicate the value of exception.message in error.message.

error.message is NOT RECOMMENDED for metrics or spans due to its unbounded cardinality and overlap with span status.

Examples

History

  1. v1.40.0deprecated

    Use domain-specific error message attribute. For example, use feature_flag.error.message for feature flag errors.

  2. v1.32.0

    Added as development.

Definition sourceRegistry docsJSON