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

Adding Functionality to Dynamically Calculate Threshold Value For Minimum Time Required For Term #1466

Merged
merged 4 commits into from
Jan 22, 2025

Conversation

shekhar316
Copy link
Contributor

@shekhar316 shekhar316 commented Jan 20, 2025

Description

Updated the threshold calculation logic to dynamically calculate based on user-provided minimum default values for measurement_duration.

Fixes # (issue)
Delay in generating the recommendations during demos

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?

Manually with OpenShift Cluster

Test Configuration

  • Kubernetes clusters tested on: Openshift

Checklist 🎯

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

Additional information

Image for Testing: quay.io/rh-ee-shesaxen/autotune:hello2

@shekhar316 shekhar316 changed the base branch from master to mvp_demo January 20, 2025 20:34
@shekhar316 shekhar316 self-assigned this Jan 21, 2025
@shekhar316 shekhar316 added this to the Kruize 0.4 Release milestone Jan 21, 2025
Signed-off-by: Shekhar Saxena <[email protected]>
Signed-off-by: Shekhar Saxena <[email protected]>
@shekhar316
Copy link
Contributor Author

@dinogun I’ve updated the threshold calculation logic as per our discussion. Please review it whenever you have a moment and let me know your suggestions.

@shekhar316 shekhar316 changed the title Adding Functionality to Define Custom Threshold For Minimum Time Required For Term Adding Functionality to Dynamically Calculate Threshold Value For Minimum Time Required For Term Jan 22, 2025
Copy link
Contributor

@dinogun dinogun left a comment

Choose a reason for hiding this comment

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

Looking good for now. We need to make these configurable from a user perspective, so these need to be added to the config changes as well
cc: @bhanvimenghani

@dinogun dinogun merged commit f27a90c into kruize:mvp_demo Jan 22, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants