Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ release.

### Traces

- Deprecate Record Exception API in favor of using Logs.
Comment thread
pellared marked this conversation as resolved.
Outdated
([#4825](https://github.com/open-telemetry/opentelemetry-specification/pull/4825))

### Metrics

- Stabilize part of `Enabled` SDK for synchronous instruments.
Expand Down
2 changes: 2 additions & 0 deletions specification/trace/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,8 @@ in the scope of this requirement and recommendation.

#### Record Exception

**Status**: [Deprecated](../document-status.md)
Comment thread
pellared marked this conversation as resolved.

To facilitate recording an exception languages SHOULD provide a
`RecordException` method if the language uses exceptions.
This is a specialized variant of [`AddEvent`](#add-events),
Expand Down
4 changes: 3 additions & 1 deletion specification/trace/exceptions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Exceptions

**Status**: [Stable](../document-status.md), Unless otherwise specified.
**Status**: [Deprecated](../document-status.md), follow the
[semantic conventions for recording exceptions](https://opentelemetry.io/docs/specs/semconv/general/recording-errors/#recording-exceptions)
Comment thread
pellared marked this conversation as resolved.
Outdated
instead.
Comment thread
pellared marked this conversation as resolved.

This document defines how to record exceptions and their attributes.

Expand Down
Loading