-
Notifications
You must be signed in to change notification settings - Fork 253
[YUNIKORN-3087] Remove deprecated "subsystem metrics" code #1023
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
Kicked off the pre-commit checks |
@BarryWu0812 please check the formatting by running "make lint" locally. |
Hi @pbacsko , I have fixed the issue. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1023 +/- ##
==========================================
- Coverage 82.69% 82.67% -0.02%
==========================================
Files 98 98
Lines 15682 15658 -24
==========================================
- Hits 12968 12946 -22
+ Misses 2439 2437 -2
Partials 275 275 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
pkg/metrics/queue.go
Outdated
appMetricsLabel *prometheus.GaugeVec | ||
// Deprecated - To be removed in 1.7.0. Replaced with queue label Metrics | ||
appMetricsSubsystem *prometheus.GaugeVec | ||
appMetricsLabel *prometheus.GaugeVec |
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.
Nit: now we only have a single metrics for apps, so rename this to appMetrics
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.
Done
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 +1
committing the change
What is this PR for?
Removal of the deprecated "subsystem metrics" code:
https://yunikorn.apache.org/docs/1.5.0/metrics/queue
What type of PR is it?
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-3087
How should this be tested?
Unit Test:
Screenshots (if appropriate)
Questions: