File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,10 @@ Semantic conventions for Exceptions are defined for the following signals:
2121When an instrumented operation fails with an exception, instrumentation SHOULD record
2222this exception as a [ span event] ( exceptions-spans.md ) or a [ log record] ( exceptions-logs.md ) .
2323
24- Recording exceptions on spans SHOULD be accompanied by
24+ Recording exceptions on spans SHOULD be accompanied by:
25+
2526- setting span status to ` ERROR `
26- - setting [ ` error.type ` ] ( https://github.com/open-telemetry/semantic-conventions/blob/main/docs/attributes-registry/error.md#error-type )
27+ - setting [ ` error.type ` ] ( https://github.com/open-telemetry/semantic-conventions/blob/main/docs/attributes-registry/error.md#error-type ) attribute
2728
2829Refer to the [ Recording errors] ( /docs/general/recording-errors.md ) document for additional
2930details on how to record errors across different signals.
You can’t perform that action at this time.
0 commit comments