-
Notifications
You must be signed in to change notification settings - Fork 55
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
list Recommendations to support both rm and lm #1420
list Recommendations to support both rm and lm #1420
Conversation
@msvinaykumar Please fix the conflict |
Signed-off-by: msvinaykumar <[email protected]>
Signed-off-by: msvinaykumar <[email protected]>
Signed-off-by: msvinaykumar <[email protected]>
d751dcb
to
ad2936c
Compare
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!
@@ -121,7 +122,7 @@ private static Map<String, String> parseLabelString(String labelString) { | |||
public void run() { | |||
String statusValue = "failure"; | |||
MetricsConfig.activeJobs.incrementAndGet(); | |||
Timer.Sample timerRunJob = Timer.start(MetricsConfig.meterRegistry()); | |||
io.micrometer.core.instrument.Timer.Sample timerRunJob = Timer.start(MetricsConfig.meterRegistry()); |
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.
This isn't required.
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.
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
@msvinaykumar Can you please move all of the RM only code (including the DB files) to the bottom of each file and add a comment to it that this "section" is RM only. That way when we deprecate the code, it is easy to be removed at a later point. This can be done in a separate PR |
Description
Introduced the rm=true flag for the ROS Remote Monitoring use case. When rm=true is passed in the listRecommendations API, the API refers to remote monitoring tables. By default, the flag is set to false, which points to local monitoring tables. This feature is not critical for the ROS Remote Monitoring use case, as they do not utilize the listRecommendations API. Therefore, a documentation update is not required.
Fixes # (issue)
Type of change
How has this been tested?
Please describe the tests that were run to verify your changes and steps to reproduce. Please specify any test configuration required.
Test Configuration
Checklist 🎯
Additional information
Include any additional information such as links, test results, screenshots here