Skip to content

refactor(grpc): replace SpanAttributes with semconv attributes #3540

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jun 3, 2025

Conversation

artemziborev
Copy link
Contributor

@artemziborev artemziborev commented May 23, 2025

Description

This PR replaces deprecated usage of SpanAttributes with semantic convention attributes from opentelemetry.semconv.attributes in the opentelemetry-instrumentation-grpc package.

Refs #3475

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Ran pytest on grpc instrumentation tests
  • Verified removal of all SpanAttributes references

Does This PR Require a Core Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

See contributing.md for styleguide, changelog guidelines, and more.

  • Followed the style guidelines of this project

@xrmx xrmx added the Skip Changelog PRs that do not require a CHANGELOG.md entry label May 23, 2025
@xrmx
Copy link
Contributor

xrmx commented May 23, 2025

@artemziborev please setup pre-commit per CONTRIBUTING.md.

@xrmx xrmx self-requested a review May 27, 2025 20:19
@xrmx xrmx enabled auto-merge (squash) June 3, 2025 15:28
@xrmx xrmx merged commit 85ea8f3 into open-telemetry:main Jun 3, 2025
625 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants