Skip to content

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 moved this to Reviewed PR that needs fixing in @xrmx's Python PR digest May 27, 2025
@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
@github-project-automation github-project-automation bot moved this from Reviewed PR that needs fixing to Done in @xrmx's Python PR digest Jun 3, 2025
devmonkey22 pushed a commit to devmonkey22/opentelemetry-python-contrib that referenced this pull request Aug 5, 2025
…telemetry#3540)

* refactor(grpc): replace SpanAttributes with semconv attributes

* refactor(flask): replace SpanAttributes with semconv attributes (fix ruff linting)

---------

Co-authored-by: Riccardo Magliocchetti <[email protected]>
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

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants