Add event name and severity considerations to log-based exception events#3311
Merged
lmolkova merged 20 commits intoopen-telemetry:mainfrom Mar 10, 2026
Merged
Add event name and severity considerations to log-based exception events#3311lmolkova merged 20 commits intoopen-telemetry:mainfrom
lmolkova merged 20 commits intoopen-telemetry:mainfrom
Conversation
lmolkova
commented
Jan 19, 2026
|
This PR has been labeled as stale due to lack of activity. It will be automatically closed if there is no further activity over the next 7 days. |
672915d to
ebe3a3a
Compare
ab3e38d to
82ded5d
Compare
lmolkova
commented
Feb 17, 2026
lmolkova
commented
Feb 17, 2026
lmolkova
commented
Feb 17, 2026
pellared
reviewed
Feb 18, 2026
lmolkova
commented
Mar 2, 2026
pellared
reviewed
Mar 3, 2026
lmolkova
commented
Mar 3, 2026
lmolkova
commented
Mar 3, 2026
lmolkova
commented
Mar 3, 2026
ffd9e85 to
cc641b2
Compare
trask
reviewed
Mar 10, 2026
trask
approved these changes
Mar 10, 2026
Member
trask
left a comment
There was a problem hiding this comment.
It should be obvious, but maybe worth being explicit about capturing span context if one exists.
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
lmolkova
commented
Mar 10, 2026
lmolkova
commented
Mar 10, 2026
lmolkova
commented
Mar 10, 2026
Merged
via the queue into
open-telemetry:main
with commit Mar 10, 2026
897cb81
16 of 17 checks passed
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.
Fixes #3100
Extracted from open-telemetry/opentelemetry-specification#4333
Related to #3256
Summarizes guidance behind: #3414, #3426, #3435, #3436
The current guidance on recording exceptions on logs only tells how to attach exception-related details to a log record.
OTel instrumentations, when switching to log-based events from span events, would need to emit the whole record and need guidance on:
http.client.request.exception. OTel instrumentations that emit them should document them in central or instrumentation-specific docs.errorseverity. Client and producer should emitwarn.