[otlp] Remove Experimental Flag and emit stable Exception attributes by default#5258
Merged
CodeBlanch merged 5 commits intoopen-telemetry:mainfrom Jan 26, 2024
Conversation
…ag as exception attributes are now standard.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5258 +/- ##
==========================================
- Coverage 83.38% 83.12% -0.26%
==========================================
Files 297 271 -26
Lines 12531 11967 -564
==========================================
- Hits 10449 9948 -501
+ Misses 2082 2019 -63
Flags with carried forward coverage won't be shown. Click here to find out more.
|
reyang
approved these changes
Jan 25, 2024
cijothomas
approved these changes
Jan 25, 2024
vishweshbankwar
approved these changes
Jan 25, 2024
CodeBlanch
reviewed
Jan 26, 2024
CodeBlanch
approved these changes
Jan 26, 2024
Member
CodeBlanch
left a comment
There was a problem hiding this comment.
Sent a nit on CHANGELOG but LGTM
This was referenced Oct 11, 2025
Closed
This was referenced Dec 4, 2025
This was referenced Feb 18, 2026
This was referenced Feb 26, 2026
Open
This was referenced Apr 7, 2026
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 #4831
Design discussion issue #
This PR addresses the stabilization of exception attributes in the OpenTelemetry Semantic Conventions. With
exception.type,exception.message, andexception.stacktracenow considered stable, the need for theOTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EXCEPTION_LOG_ATTRIBUTESenvironment variable has been eliminated.Changes
Please provide a brief description of the changes here.
OTEL_DOTNET_EXPERIMENTAL_OTLP_EMIT_EXCEPTION_LOG_ATTRIBUTESenvironment variable.exception.type,exception.message, andexception.stacktraceare automatically included in exportsMerge requirement checklist
CHANGELOG.mdfiles updated for non-trivial changes[ ] Changes in public API reviewed (if applicable)