Skip to content

[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
pellared:dep-span-events
Open

[DO NOT MERGE] [Trace] Deprecate Record Exception API in favor of using Logs API#4825
pellared wants to merge 8 commits intoopen-telemetry:mainfrom
pellared:dep-span-events

Conversation

@pellared
Copy link
Member

@pellared pellared commented Jan 7, 2026

Blocked by open-telemetry/semantic-conventions#3256

Blocked by #4824

Towards OTEP: Span Event API deprecation plan

Changes

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 RecordException API 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 pellared marked this pull request as ready for review January 7, 2026 22:34
@pellared pellared requested review from a team as code owners January 7, 2026 22:34
@pellared pellared changed the title [Trace] Deprecate Record Exception API in favor of using Logs [DO NOT MERGE] [Trace] Deprecate Record Exception API in favor of using Logs Jan 7, 2026
Co-authored-by: Cijo Thomas <cithomas@microsoft.com>
@github-actions
Copy link

This PR was marked stale. It will be closed in 14 days without additional activity.

@github-actions github-actions bot added the Stale label Jan 29, 2026
@pellared pellared removed the Stale label Jan 29, 2026
@github-actions
Copy link

This PR was marked stale. It will be closed in 14 days without additional activity.

@github-actions github-actions bot added the Stale label Feb 13, 2026
@pellared pellared removed the Stale label Feb 17, 2026
@pellared pellared changed the title [DO NOT MERGE] [Trace] Deprecate Record Exception API in favor of using Events [DO NOT MERGE] [Trace] Deprecate Record Exception API in favor of using Logs API Feb 17, 2026
@github-actions
Copy link

github-actions bot commented Mar 5, 2026

This PR was marked stale. It will be closed in 14 days without additional activity.

@github-actions github-actions bot added the Stale label Mar 5, 2026
@pellared pellared removed the Stale label Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants