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

Document metric label updates #3343

Merged
merged 2 commits into from
May 16, 2023
Merged

Conversation

ljoss17
Copy link
Contributor

@ljoss17 ljoss17 commented May 16, 2023

Closes: #3326

Description

Following the upgrade of opentelemetry-prometheus to v0.12.0 the Counter metrics have a _total suffix, https://github.com/open-telemetry/opentelemetry-rust/blob/main/opentelemetry-prometheus/CHANGELOG.md#changed.

This PR updates the concerned metrics in the guide and renamed:

  • total_messages_submitted to messages_submitted as this will result in messages_submitted_total

PR author checklist:

  • Added changelog entry, using unclog.
  • Added tests: integration (for Hermes) or unit/mock tests (for modules).
  • Linked to GitHub issue.
  • Updated code comments and documentation (e.g., docs/).
  • Tagged one reviewer who will be the one responsible for shepherding this PR.

Reviewer checklist:

  • Reviewed Files changed in the GitHub PR explorer.
  • Manually tested (in case integration/unit/mock tests are absent).

Copy link
Member

@romac romac left a comment

Choose a reason for hiding this comment

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

🙏

@romac romac merged commit 5ca87a7 into master May 16, 2023
@romac romac deleted the luca_joss/document-metric-label-updates branch May 16, 2023 16:41
pratikbin pushed a commit to pratikbin/hermes that referenced this pull request May 24, 2023
* Rename 'total_messages_submitted' to 'messages_submitted'

* Update guide following addition of '_total' suffix to Counter metrics
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.

Updating telemetry changed the metric names
2 participants