Skip to content

[otel] add otel.event.name attribute#3034

Merged
lmolkova merged 1 commit intoopen-telemetry:mainfrom
pellared:issue-2913
Nov 6, 2025
Merged

[otel] add otel.event.name attribute#3034
lmolkova merged 1 commit intoopen-telemetry:mainfrom
pellared:issue-2913

Conversation

@pellared
Copy link
Copy Markdown
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
Copy Markdown

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
Comment thread model/otel/registry.yaml
Comment thread docs/registry/attributes/otel.md
Copy link
Copy Markdown
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
alpineQ pushed a commit to alpineQ/semantic-conventions that referenced this pull request Nov 11, 2025
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