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

Update semconv for hardware metrics to use direction attributes #2942

Merged
merged 2 commits into from
Dec 5, 2022
Merged

Update semconv for hardware metrics to use direction attributes #2942

merged 2 commits into from
Dec 5, 2022

Conversation

bertysentry
Copy link
Contributor

Fixes #2805

Changes

Updated semantic conventions for hardware metrics (specification\metrics\semantic_conventions\hardware-metrics.md) to use the direction attributes (and follow updated general semantic conventions).

  • hw.gpu.io.receive, hw.gpu.io.transmit ==> hw.gpu.io
  • hw.network.io.receive, hw.network.io.transmit ==> hw.network.io
  • hw.network.packets.receive, hw.network.packets.transmit ==> hw.network.packets

@bertysentry bertysentry requested review from a team November 11, 2022 15:19
@arminru arminru added area:semantic-conventions Related to semantic conventions spec:metrics Related to the specification/metrics directory labels Nov 14, 2022
@bertysentry
Copy link
Contributor Author

Thank you @jmacd!
@arminru, please review and approve 😊

Copy link
Member

@jack-berg jack-berg left a comment

Choose a reason for hiding this comment

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

Please add a changelog entry!

@bertysentry
Copy link
Contributor Author

@jack-berg CHANGELOG entry added!

@carlosalberto
Copy link
Contributor

This seems like a straightforward change to comply with the other metrics we already have

cc @jsuereth

@github-actions
Copy link

github-actions bot commented Dec 1, 2022

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions bot added the Stale label Dec 1, 2022
@bertysentry
Copy link
Contributor Author

Since everybody approved this, I guess it's time to hit that green Merge button 😉

@carlosalberto
Copy link
Contributor

@bertysentry Agreed. Sorry, can you merge again? :(

@github-actions github-actions bot removed the Stale label Dec 2, 2022
@bertysentry
Copy link
Contributor Author

@carlosalberto Merge done, all checks have passed, we're good to go! Thank you!

@carlosalberto carlosalberto merged commit 255a6c5 into open-telemetry:main Dec 5, 2022
@bertysentry bertysentry deleted the feature/issue-2805-semantic-hardware-update branch December 6, 2022 08:53
carlosalberto pushed a commit to carlosalberto/opentelemetry-specification that referenced this pull request Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:semantic-conventions Related to semantic conventions spec:metrics Related to the specification/metrics directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Semantic conventions for hardware metrics need to be updated to merge network metrics and GPU IOs metrics
5 participants