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

recommender: Initial support for third-party replica recommenders #223

Merged
merged 5 commits into from
Oct 23, 2024

Conversation

iksaif
Copy link
Collaborator

@iksaif iksaif commented Oct 11, 2024

This is a first step to implement the interface defined in DataDog/agent-payload#348

Currently this simply adds a non-implemented recommender client and the necesary logic to handle
the results. It does not allow the usage all the features made available by the recommendation
API and keep it to the minimum required to make use of it (for example simple TargetType).

Simple tests have been implemented and this was implemented to re-use as much code as possible in the replica_calculator.

Follow-up PRs will

  • Provide a real implementation of the recommender
  • Add more tests
  • Add documentation and examples (maybe including a very simple recommender)

This PR is currently based on lenaic/CONTINT-4412

@iksaif iksaif requested a review from a team as a code owner October 11, 2024 12:31
@iksaif iksaif changed the title [CONTINT-4412] Upgrade k8s dependencies recommender: Initial support for third-party replica recommenders Oct 11, 2024
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This pull request does not contain a valid label. Please add one of the following labels: bug, enhancement, refactoring, documentation, tooling, dependencies

@iksaif iksaif force-pushed the corentin.chary/replica-recommender branch from b0a01b3 to 05119ca Compare October 11, 2024 12:32
@iksaif iksaif added this to the 0.8.0 milestone Oct 14, 2024
@vboulineau vboulineau added the enhancement New feature or request label Oct 15, 2024
github-actions[bot]
github-actions bot previously approved these changes Oct 15, 2024
vboulineau
vboulineau previously approved these changes Oct 16, 2024
Base automatically changed from lenaic/CONTINT-4412 to main October 23, 2024 08:12
@dd-mergequeue dd-mergequeue bot dismissed stale reviews from vboulineau and github-actions[bot] October 23, 2024 08:12

The base branch was changed.

This is a first step to implement the interface defined in DataDog/agent-payload#348

Currently this simply adds a non-implemented recommender client and the necesary logic to handle
the results. It does not allow the usage all the features made available by the recommendation
API and keep it to the minimum required to make use of it (for example simple TargetType).

Simple tests have been implemented and this was implemented to re-use as much code as possible in the replica_calculator.

Follow-up PRs will actually implement the recommender client and add the necessary tests and documentation.
@iksaif iksaif force-pushed the corentin.chary/replica-recommender branch from a833bf7 to eac6992 Compare October 23, 2024 08:22
@iksaif
Copy link
Collaborator Author

iksaif commented Oct 23, 2024

/merge

@dd-devflow
Copy link

dd-devflow bot commented Oct 23, 2024

🚂 MergeQueue: pull request added to the queue

The median merge time in main is 13m.

Use /merge -c to cancel this operation!

@dd-mergequeue dd-mergequeue bot merged commit 7d7e778 into main Oct 23, 2024
30 checks passed
@dd-mergequeue dd-mergequeue bot deleted the corentin.chary/replica-recommender branch October 23, 2024 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants