Skip to content

Conversation

@pellared
Copy link
Member

@pellared pellared commented Nov 5, 2025

Fixes #2913

This PR introduces the otel.event.name attribute for use by non-OTLP exporters and logging libraries.

The otel.event.name attribute can be used by:

  • Non-OTLP exporters to emit the EventName when the destination does not support EventName or an equivalent field
  • Applications using existing logging libraries to add event name information that can be used to set the EventName field by Collector or SDK components

This follows a similar pattern to #2715, but uses the otel.* namespace instead of event.* to properly represent OpenTelemetry-specific concepts used for bridging between formats.

Example from OTel Go:

@github-actions
Copy link

github-actions bot commented Nov 5, 2025

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

  • otel

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 5, 2025
@pellared pellared reopened this Nov 5, 2025
@pellared pellared marked this pull request as ready for review November 5, 2025 08:30
@pellared pellared requested review from a team as code owners November 5, 2025 08:30
Copy link
Member

@cijothomas cijothomas left a comment

Choose a reason for hiding this comment

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

LGTM!

@lmolkova lmolkova added this pull request to the merge queue Nov 6, 2025
Merged via the queue into open-telemetry:main with commit 7fddc86 Nov 6, 2025
34 of 36 checks passed
@pellared pellared deleted the issue-2913 branch November 7, 2025 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stabilize otel.event.name attribute

4 participants