Skip to content

Use consistent set of attributes between RPC spans and metrics#3197

Merged
lmolkova merged 4 commits intoopen-telemetry:mainfrom
lmolkova:rpc-shared-attribute-refinements
Dec 10, 2025
Merged

Use consistent set of attributes between RPC spans and metrics#3197
lmolkova merged 4 commits intoopen-telemetry:mainfrom
lmolkova:rpc-shared-attribute-refinements

Conversation

@lmolkova
Copy link
Copy Markdown
Member

@lmolkova lmolkova commented Dec 9, 2025

Fixes #2922

Use consistent set of attributes between RPC spans and metrics

  • Use rpc.response.status_code on common metrics and spans.
  • Make error.type note consistent between metrics and spans.
  • Promote notes on rpc.method and rpc.service to attribute definition.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 9, 2025

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

  • aws

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.

@lmolkova lmolkova moved this from Done to In Progress in RPC Semantic Conventions Stability Dec 9, 2025
@lmolkova lmolkova moved this from Untriaged to Awaiting codeowners approval in Semantic Conventions Triage Dec 9, 2025
Comment thread model/rpc/metrics.yaml
@lmolkova lmolkova added this pull request to the merge queue Dec 10, 2025
Merged via the queue into open-telemetry:main with commit a43b2af Dec 10, 2025
18 checks passed
@lmolkova lmolkova deleted the rpc-shared-attribute-refinements branch December 10, 2025 23:02
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

Development

Successfully merging this pull request may close these issues.

We should tailor generic note on error.type to RPC case. consistently across spans and metrics.

3 participants