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
using promauto package to ensure all created metrics are properly registered #4025
Conversation
f1e556b
to
2799d8c
Compare
Codecov Report
@@ Coverage Diff @@
## master #4025 +/- ##
==========================================
- Coverage 56.82% 56.77% -0.06%
==========================================
Files 224 224
Lines 11352 11341 -11
==========================================
- Hits 6451 6439 -12
- Misses 4404 4406 +2
+ Partials 497 496 -1
Continue to review full report at Codecov.
|
/assign @miekg |
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.
thanks!
Nice. There are a number of additional |
oh yeah, was wondering that during review, but:
|
maybe we can add a smaller test in presubmit_test that check for MustRegister (instead of the Makefile test added here?)? |
…istered Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
The |
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.
LGTM
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.
LGTM, Thanks!
…istered (coredns#4025) Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
1. Why is this pull request needed and what does it do?
check if metric is registererd
2. Which issues (if any) are related?
fix #4024
3. Which documentation changes (if any) need to be made?
none
4. Does this introduce a backward incompatible change or deprecation?
none