Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Jan 10, 2025
1 parent 4ddc1d1 commit 1c00b5a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/exceptions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ Semantic conventions for Exceptions are defined for the following signals:
When an instrumented operation fails with an exception, instrumentation SHOULD record
this exception as a [span event](exceptions-spans.md) or a [log record](exceptions-logs.md).

Recording exceptions on spans SHOULD be accompanied by
Recording exceptions on spans SHOULD be accompanied by:

- setting span status to `ERROR`
- setting [`error.type`](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/attributes-registry/error.md#error-type)
- setting [`error.type`](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/attributes-registry/error.md#error-type) attribute

Refer to the [Recording errors](/docs/general/recording-errors.md) document for additional
details on how to record errors across different signals.
Expand Down

0 comments on commit 1c00b5a

Please sign in to comment.