Skip to content

Remove network.type from RPC spans and metrics#2857

Merged
trask merged 7 commits intomainfrom
copilot/fix-c2f9ac29-d78d-4786-98a9-6d2482d055cc
Oct 29, 2025
Merged

Remove network.type from RPC spans and metrics#2857
trask merged 7 commits intomainfrom
copilot/fix-c2f9ac29-d78d-4786-98a9-6d2482d055cc

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Oct 2, 2025

  • Remove network.type from RPC attribute groups in model/rpc/common.yaml
    • Remove from rpc attribute group (line 49)
    • Remove from rpc.server attribute group (line 88)
    • Remove from rpc_service.server attribute group (line 102)
  • Run table-check to verify YAML changes are valid
  • Run table-generation to regenerate documentation from YAML
  • Run all validation checks (schema-check, misspell, markdownlint, etc.)
  • Verify the generated documentation no longer contains network.type references
  • Add changelog entry

Summary

Successfully removed network.type attribute from all RPC spans and metrics following the same pattern used in PR #410 for HTTP. The attribute is still available in the registry for opt-in usage but is no longer included in RPC semantic conventions as a recommended attribute.

Changes made:

  • Removed 3 references to network.type from model/rpc/common.yaml
  • Regenerated documentation files: docs/rpc/rpc-spans.md, docs/rpc/connect-rpc.md, docs/rpc/json-rpc.md
  • Added changelog entry at .chloggen/2851.yaml
  • Net reduction: -102 lines (attribute references and footnotes removed)

All validation checks pass:
✅ table-check
✅ schema-check
✅ misspell
✅ markdownlint
✅ chlog-validate

Original prompt

This section details on the original issue you should resolve

<issue_title>Remove network.type from RPC spans / metrics</issue_title>
<issue_description>We've removed it from HTTP - #410 with the motivation that it's not really interesting in a common case and, being in the registry, it's already can be considered opt-in.

Suggesting to remove from RPC following the same motivation</issue_description>

Comments on the Issue (you are @copilot in this section)

Fixes #2851

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Remove network.type from RPC spans / metrics Remove network.type from RPC spans and metrics Oct 2, 2025
Copilot AI requested a review from trask October 2, 2025 17:48
Comment thread model/rpc/common.yaml
Copilot AI requested a review from trask October 2, 2025 18:03
Comment thread .chloggen/2851.yaml Outdated
@github-actions github-actions Bot added enhancement New feature or request area:rpc labels Oct 3, 2025
@trask trask marked this pull request as ready for review October 3, 2025 00:04
@trask trask requested review from a team as code owners October 3, 2025 00:04
@thompson-tomo
Copy link
Copy Markdown
Contributor

@trask this will need a rebase now that grpc doc has been merged

@lmolkova lmolkova moved this from Untriaged to Needs More Approval in Semantic Conventions Triage Oct 15, 2025
@lmolkova lmolkova moved this from Needs More Approval to Ready to be Merged in Semantic Conventions Triage Oct 28, 2025
@trask trask enabled auto-merge October 29, 2025 04:21
@trask trask added this pull request to the merge queue Oct 29, 2025
Merged via the queue into main with commit 56b613e Oct 29, 2025
18 checks passed
@trask trask deleted the copilot/fix-c2f9ac29-d78d-4786-98a9-6d2482d055cc branch October 29, 2025 04:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:rpc enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

Remove network.type from RPC spans / metrics

5 participants