Skip to content

Conversation

@thompson-tomo
Copy link
Contributor

@thompson-tomo thompson-tomo commented Nov 7, 2025

Fixes #1981

Changes

Adds in the code attributes to the exception event as opt-in

Important

Pull requests acceptance are subject to the triage process as described in Issue and PR Triage Management.
PRs that do not follow the guidance above, may be automatically rejected and closed.

Merge requirement checklist

  • CONTRIBUTING.md guidelines followed.
  • Change log entry added, according to the guidelines in When to add a changelog entry.
    • If your PR does not need a change log, start the PR title with [chore]
  • Links to the prototypes or existing instrumentations (when adding or changing conventions)

@github-actions
Copy link

github-actions bot commented Nov 7, 2025

This PR contains changes to area(s) that do not have an active SIG/project and will be auto-closed:

  • exceptions

Such changes may be rejected or put on hold until a new SIG/project is established.

Please refer to the Semantic Convention Areas
document to see the current active SIGs and also to learn how to kick start a new one.

@github-actions github-actions bot closed this Nov 7, 2025
@thompson-tomo
Copy link
Contributor Author

@joaopgrassi can this be reopened. The issue has been accepted but pr still got closed.

@thompson-tomo thompson-tomo force-pushed the feature/#1981_AddCodeToExceptions branch from 3d891aa to 1fd9c35 Compare November 28, 2025 02:08
@trask
Copy link
Member

trask commented Dec 3, 2025

are there any prototypes / usages of this in instrumentation under the open-telemetry org?

@thompson-tomo
Copy link
Contributor Author

thompson-tomo commented Dec 4, 2025

I had thought the javascript were using them based on the closed pr but it was taken out.

As such I have extended the existing otel contrib lib to map additional properties from ErrorEvent to otel attributes as seen in this commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Add opt-in code attributes to exception event

4 participants