Skip to content

Separate RPC events from spans#3226

Merged
lmolkova merged 3 commits intoopen-telemetry:mainfrom
lmolkova:rpc-events-separate
Jan 10, 2026
Merged

Separate RPC events from spans#3226
lmolkova merged 3 commits intoopen-telemetry:mainfrom
lmolkova:rpc-events-separate

Conversation

@lmolkova
Copy link
Member

Following OTEP-265 and 4430 span events are deprecated.

Events in semantic conventions are intended for log-based events and there is effectively no means to record span events.

This PR separates events from spans in model and markdown. When stabilizing RPC we also plan to stabilize spans, but not events/

@lmolkova lmolkova moved this from Untriaged to Awaiting codeowners approval in Semantic Conventions Triage Dec 17, 2025
@lmolkova lmolkova added the Skip Changelog Label to skip the changelog check label Dec 17, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR separates RPC events from spans following OTEP-265 and OTEP-4430, which deprecate span events in favor of log-based events. The changes move event definitions to a standalone file and documentation, enabling RPC spans to be stabilized independently from events, which will remain in development status.

Key changes:

  • Creates a new model/rpc/events.yaml file containing the rpc.message event definition
  • Removes event references from RPC span definitions in model/rpc/spans.yaml
  • Separates event documentation into a new docs/rpc/rpc-events.md file

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
model/rpc/spans.yaml Removed events: [rpc.message] from client and server span definitions, and deleted the embedded event definition
model/rpc/events.yaml New file defining the rpc.message event with attributes for message type, ID, compressed size, and uncompressed size
docs/rpc/rpc-spans.md Removed the Events section and Message event documentation; removed duplicate technology-specific conventions section
docs/rpc/rpc-events.md New file documenting RPC events with the Message event specification
docs/rpc/README.md Added reference to the new RPC Events documentation

@github-actions
Copy link

github-actions bot commented Jan 4, 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.

@github-actions github-actions bot added the Stale label Jan 4, 2026
@lmolkova lmolkova removed the Stale label Jan 7, 2026
@lmolkova lmolkova added this pull request to the merge queue Jan 10, 2026
Merged via the queue into open-telemetry:main with commit 514f732 Jan 10, 2026
20 checks passed
@lmolkova lmolkova deleted the rpc-events-separate branch January 10, 2026 19:20
Cirilla-zmh pushed a commit to Cirilla-zmh/semantic-conventions that referenced this pull request Feb 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Skip Changelog Label to skip the changelog check

Development

Successfully merging this pull request may close these issues.

4 participants