Skip to content
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

Add missing links to deprecated constants in SemanticAttributes #5406

Conversation

Donnerbart
Copy link
Contributor

The deprecated semantic convention keys MESSAGING_PROTOCOL and MESSAGING_PROTOCOL_VERSION are missing a link to their according replacements. See open-telemetry/opentelemetry-specification#2957

If you don't know where to look, it's quite cumbersome to find the spec change PR. In the worst case developers remove their attributes instead of updating correctly.

@Donnerbart Donnerbart requested a review from a team April 26, 2023 12:21
@codecov
Copy link

codecov bot commented Apr 26, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.02 ⚠️

Comparison is base (9f60074) 91.30% compared to head (1a92eac) 91.29%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #5406      +/-   ##
============================================
- Coverage     91.30%   91.29%   -0.02%     
+ Complexity     4879     4878       -1     
============================================
  Files           549      549              
  Lines         14379    14379              
  Branches       1354     1354              
============================================
- Hits          13129    13127       -2     
- Misses          863      864       +1     
- Partials        387      388       +1     

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Donnerbart Donnerbart force-pushed the add-missing-links-to-semantic-attributes branch from 30af4ba to 1a92eac Compare April 26, 2023 13:08
@Donnerbart Donnerbart changed the title Update the semantic conventions to v1.19.1 Add missing links to deprecated constants in SemanticAttributes Apr 26, 2023
Copy link
Contributor

@jkwatson jkwatson left a comment

Choose a reason for hiding this comment

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

Thanks! I think when I initially created these, there was no replacement in the spec for them. Good catch!

@jack-berg jack-berg merged commit 85fb390 into open-telemetry:main Apr 27, 2023
@Donnerbart Donnerbart deleted the add-missing-links-to-semantic-attributes branch April 28, 2023 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants