-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Fix incorrect name and doc for kv_entries metric #13496
Conversation
The name of the metric as registered with the metrics library to provide the help string, was incorrect compared with the actual code that sets the metric value - bring them into sync. Also, the help message was incorrect. Rather than copy the help message from telemetry.mdx, which was correct, but felt a bit unnatural in the way it was worded, update both of them to a new wording.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs part of this PR is 👍
Thanks adam! Looks straightfoward to me as well, i'll bring this up and hopefully we can just approve the merge tomorrow when the team meets to discuss the prometheus issues |
I think this is going to experience a merge conflict with my other open PR touching Could you get that other PR - which has been approved already - merged in, so that I can resolve the conflict? |
Just merged the last one so you're free to add changes. Also an update on your PRs: I had to push back discussions on all your changes since last week was our annual european conference. Will hopefully get you back feedback shortly. |
Sure, I appreciate the complicated stuff is going to take a while to work through :-) Meanwhile, this little 3-liner now has conflicts resolved. |
Please could I get a Please could I get a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you!
Hmm, actually, it looks like there is an error in a previous merge, let me fix that... |
Corrected. Please merge if you are happy with this. |
Hi @maxb we're having an issue with some integration tests not running on forked repos, and I can't override that. We're looking into how to address this so that the integration tests run and we can merge your PR. |
@maxb Could you pull in the latest changes from the main branch? That should allow for the integration tests to run |
Done - all CircleCI checks green now. |
The name of the metric as registered with the metrics library to provide
the help string, was incorrect compared with the actual code that sets
the metric value - bring them into sync.
Also, the help message was incorrect. Rather than copy the help message
from telemetry.mdx, which was correct, but felt a bit unnatural in the
way it was worded, update both of them to a new wording.
Link to actual code that sets the metric value, for comparison:
consul/agent/consul/usagemetrics/usagemetrics_oss.go
Line 73 in a407d37
PR that originally introduced the metric, and the discrepancies fixed here: #11090