Skip to content

Add opt-in support for emitting exceptions as log signals#16259

Merged
trask merged 43 commits into
open-telemetry:mainfrom
trask:exceptions-over-log-signal
Jun 3, 2026
Merged

Add opt-in support for emitting exceptions as log signals#16259
trask merged 43 commits into
open-telemetry:mainfrom
trask:exceptions-over-log-signal

Conversation

@trask

@trask trask commented Feb 22, 2026

Copy link
Copy Markdown
Member

Span events are in the process of being deprecated.

This starts to add opt-in support for emitting exceptions as logs (as opposed to span events).

Follows semantic conventions proposal: open-telemetry/semantic-conventions#3414

See #16049 for how this will be used, this PR is just laying the foundation.

@trask trask force-pushed the exceptions-over-log-signal branch 2 times, most recently from e5ccd7d to bc09a65 Compare February 22, 2026 20:13
@trask trask force-pushed the exceptions-over-log-signal branch from bc09a65 to 161b795 Compare February 22, 2026 21:18
@trask trask force-pushed the exceptions-over-log-signal branch from 161b795 to 0d2f88b Compare February 25, 2026 03:20
@trask trask marked this pull request as ready for review February 25, 2026 04:24
@trask trask requested a review from a team as a code owner February 25, 2026 04:24
trask added 2 commits March 2, 2026 16:42
…-signal

# Conflicts:
#	instrumentation-api/src/test/java/io/opentelemetry/instrumentation/api/instrumenter/InstrumenterTest.java
@trask trask force-pushed the exceptions-over-log-signal branch from ab473e9 to d06b0e9 Compare March 3, 2026 04:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 23 out of 23 changed files in this pull request and generated 1 comment.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 23 out of 23 changed files in this pull request and generated no new comments.

@trask

trask commented May 13, 2026

Copy link
Copy Markdown
Member Author

/review

1 similar comment
@trask

trask commented May 14, 2026

Copy link
Copy Markdown
Member Author

/review

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Clean review. The PR correctly implements otel.semconv.exception.signal.preview to support emitting exceptions as logs, following the established SemconvStability pattern. Flag parsing, Instrumenter wiring, test task setup, and assertion gating all look correct. No substantive issues found.


Triggered by: /review by @trask. Model: gpt-5.

@trask

trask commented May 14, 2026

Copy link
Copy Markdown
Member Author

/review gpt-5.5

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Found one issue with exception log event naming for a manually-built HTTP client instrumenter.


Triggered by: /review by @trask. Model: gpt-5.5.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 24 out of 24 changed files in this pull request and generated no new comments.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 24 out of 24 changed files in this pull request and generated 7 comments.

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.

3 participants