Skip to content

Document mapping between gRPC (native) and OTel conventions#3229

Merged
trask merged 9 commits intoopen-telemetry:mainfrom
lmolkova:rpc-grpc-mapping
Feb 19, 2026
Merged

Document mapping between gRPC (native) and OTel conventions#3229
trask merged 9 commits intoopen-telemetry:mainfrom
lmolkova:rpc-grpc-mapping

Conversation

@lmolkova
Copy link
Member

@lmolkova lmolkova commented Dec 20, 2025

Fixes #1773

Document mapping between gRPC native metrics and spans and OTel gRPC metrics and spans.

Depends on:

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 documents the mapping between gRPC native OpenTelemetry conventions (defined in gRPC proposals A66 for metrics and A72 for tracing) and the official OpenTelemetry semantic conventions for gRPC hosted in this repository. The documentation helps users understand how to convert between the two convention systems.

Key Changes

  • Adds a new compatibility document (docs/non-normative/compatibility/grpc-compatibility.md) providing detailed mappings for metrics, spans, and their attributes
  • Updates the gRPC conventions page to reference the new compatibility document
  • Removes duplicate gRPC convention references from the RPC README

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.

File Description
docs/non-normative/compatibility/grpc-compatibility.md New compatibility document detailing attribute, metric, and span mappings between gRPC and OTel conventions, including conversion instructions
docs/rpc/grpc.md Adds a note referencing the gRPC project's conventions and linking to the new compatibility document
docs/rpc/README.md Removes redundant reference to gRPC specifications that is now better documented in the compatibility guide

@lmolkova lmolkova changed the title Document mapping between gRPC (native) and OTel gRPC conventions Document mapping between gRPC (native) and OTel conventions Dec 20, 2025
@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
@trask trask added the area:rpc label Jan 29, 2026
@lmolkova lmolkova marked this pull request as ready for review February 19, 2026 00:06
@lmolkova lmolkova requested a review from a team as a code owner February 19, 2026 00:06
@lmolkova lmolkova requested review from a team as code owners February 19, 2026 00:06
Copy link
Contributor

@matt-hensley matt-hensley left a comment

Choose a reason for hiding this comment

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

Content looks good. Left suggestions for marking sections with headers for easier linking to specific part of the doc

lmolkova and others added 2 commits February 18, 2026 16:25
Co-authored-by: Matthew Hensley <130569+matt-hensley@users.noreply.github.com>
@trask trask added this pull request to the merge queue Feb 19, 2026
@github-project-automation github-project-automation bot moved this from Untriaged to Needs More Approval in Semantic Conventions Triage Feb 19, 2026
Merged via the queue into open-telemetry:main with commit b20b57c Feb 19, 2026
16 checks passed
nagkumar91 pushed a commit to nagkumar91/semantic-conventions that referenced this pull request Feb 24, 2026
…emetry#3229)

Co-authored-by: Matthew Hensley <130569+matt-hensley@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:rpc Skip Changelog Label to skip the changelog check

Development

Successfully merging this pull request may close these issues.

Alignment with gRPC conventions

4 participants