-
Notifications
You must be signed in to change notification settings - Fork 19
fix: change the registry used to controller runtime for trafficeManagerProfile and trafficManagerBackend metrics #299
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
Conversation
Title(Describe updated until commit 9383736)Update metrics registration to use controller runtime registry Description
Changes walkthrough 📝
|
PR Reviewer Guide 🔍(Review updated until commit 9383736)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to d72404a Explore these optional code suggestions:
Previous suggestionsSuggestions up to commit 26d00c7Suggestions up to commit 26d00c7
|
jwtty
left a comment
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.
Do we not need any change in test?
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #299 +/- ##
==========================================
+ Coverage 80.28% 80.32% +0.03%
==========================================
Files 29 29
Lines 4099 4101 +2
==========================================
+ Hits 3291 3294 +3
+ Misses 643 642 -1
Partials 165 165 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
LGTM |
zhiying-lin
left a comment
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.
a minor comment. Others LGTM
What type of PR is this?
/kind bug
What this PR does / why we need it:
Change the metrics registry as we use controller runtime to emit metrics. Previously, with using the prometheus package nothing was being emitted therefore not scraped.
Which issue(s) this PR fixes:
Fixes #
Requirements:
make reviewablefor basic local testHow has this code been tested
Special notes for your reviewer