[DO NOT MERGE] [Trace] Deprecate Record Exception API in favor of using Logs API#4825
Open
pellared wants to merge 8 commits intoopen-telemetry:mainfrom
Open
[DO NOT MERGE] [Trace] Deprecate Record Exception API in favor of using Logs API#4825pellared wants to merge 8 commits intoopen-telemetry:mainfrom
pellared wants to merge 8 commits intoopen-telemetry:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR deprecates the Record Exception API in the trace specification, aligning with the OTEP for Span Event API deprecation and the new semantic conventions that favor using Logs for recording exceptions.
- Marks the trace/exceptions.md document as deprecated with a reference to new semantic conventions
- Deprecates the
RecordExceptionAPI method in the trace API specification - Adds a CHANGELOG entry documenting the deprecation
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| specification/trace/exceptions.md | Changes status from Stable to Deprecated and directs users to the new semantic conventions for recording exceptions |
| specification/trace/api.md | Adds deprecation status to the Record Exception API section |
| CHANGELOG.md | Documents the deprecation of Record Exception API in the Traces section |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
pellared
commented
Jan 7, 2026
cijothomas
reviewed
Jan 7, 2026
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
This was referenced Jan 13, 2026
Closed
|
This PR was marked stale. It will be closed in 14 days without additional activity. |
|
This PR was marked stale. It will be closed in 14 days without additional activity. |
pichlermarc
approved these changes
Feb 18, 2026
|
This PR was marked stale. It will be closed in 14 days without additional activity. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Blocked by open-telemetry/semantic-conventions#3256
Blocked by #4824
Towards OTEP: Span Event API deprecation plan
Changes