Skip to content
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

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

msvinaykumar
Copy link
Contributor

@msvinaykumar msvinaykumar commented Dec 13, 2024

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

  • Bug fix
  • New feature
  • Docs update
  • Breaking change (What changes might users need to make in their application due to this PR?)
  • Requires DB changes

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.

  • New Test X
  • Functional testsuite

Test Configuration

  • Kubernetes clusters tested on:

Checklist 🎯

  • Followed coding guidelines
  • Comments added
  • Dependent changes merged
  • Documentation updated
  • Tests added or updated

Additional information

Include any additional information such as links, test results, screenshots here

@msvinaykumar msvinaykumar added the API Requires API Changes label Dec 13, 2024
@msvinaykumar msvinaykumar added this to the Kruize 0.3 Release milestone Dec 13, 2024
@msvinaykumar msvinaykumar self-assigned this Dec 13, 2024
@dinogun
Copy link
Contributor

dinogun commented Dec 16, 2024

@msvinaykumar Please fix the conflict

@msvinaykumar msvinaykumar force-pushed the cft-5-RecommendationTable branch from d751dcb to ad2936c Compare December 16, 2024 13:15
@msvinaykumar
Copy link
Contributor Author

@msvinaykumar Please fix the conflict

done

@chandrams chandrams requested a review from khansaad December 17, 2024 08:40
Copy link
Contributor

@khansaad khansaad left a 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());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't required.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@chandrams chandrams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dinogun
Copy link
Contributor

dinogun commented Dec 17, 2024

@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

@dinogun dinogun merged commit d861321 into kruize:mvp_demo Dec 17, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Requires API Changes
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants