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

[ResponseOps][TaskManager] followups from resource based scheduling PR #192124

Merged
merged 15 commits into from
Sep 12, 2024

Conversation

doakalexi
Copy link
Contributor

@doakalexi doakalexi commented Sep 4, 2024

Towards #190095, #192183, #192185

Summary

This PR updates the following:

  • heap-to-capacity converter to take into account larger amounts of RAM, updated this to be 16GB
  • initialmaxAllowedCost to be the default capacity of 10
  • adds xpack.alerting.maxScheduledPerMinute, xpack.discovery.active_nodes_lookback, xpack.discovery.interval configs to docker
  • updates the TM docs for xpack.task_manager.capacity

@doakalexi
Copy link
Contributor Author

/ci

@doakalexi
Copy link
Contributor Author

/ci

@doakalexi doakalexi changed the title Updates the heap to capacity converter and max allowed cost [ResponseOps][TaskManager] followups from resource based scheduling PR Sep 4, 2024
@doakalexi doakalexi added Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) release_note:skip Skip the PR/issue when compiling release notes v8.16.0 labels Sep 4, 2024
@doakalexi
Copy link
Contributor Author

/ci

@doakalexi doakalexi marked this pull request as ready for review September 5, 2024 14:33
@doakalexi doakalexi requested a review from a team as a code owner September 5, 2024 14:33
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@doakalexi doakalexi requested a review from a team as a code owner September 5, 2024 17:01
@doakalexi doakalexi requested a review from lcawl September 5, 2024 19:00
@@ -48,6 +49,9 @@ Enables event loop delay monitoring, which will log a warning when a task causes
`xpack.task_manager.event_loop_delay.warn_threshold`::
Sets the amount of event loop delay during a task execution which will cause a warning to be logged. Defaults to 5000 milliseconds (5 seconds).

`xpack.task_manager.capacity`::
Sets the number of normal cost tasks that can be run at one time. Can be minimum 5 and maximum 50. Defaults to 10.
Copy link
Contributor

Choose a reason for hiding this comment

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

What about something like controls the number of tasks that can be run at one time? cc @lcawl

Wording can be confusing because the capacity means something different depending on what the claim strategy is. It is either the number of tasks that can be run at one time or the total cost of tasks that can be run at one time.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah that makes sense to me! Thanks

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I update the text in this commit baf8040

Copy link
Contributor

@ymao1 ymao1 left a comment

Choose a reason for hiding this comment

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

LGTM! Would be great to get @lcawl to review wording.

Copy link
Contributor

@lcawl lcawl left a comment

Choose a reason for hiding this comment

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

Docs changes LGTM, thanks!

@doakalexi doakalexi enabled auto-merge (squash) September 12, 2024 17:03
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #6 / Create renders correctly with optional fields

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@doakalexi doakalexi merged commit 850cdf0 into elastic:main Sep 12, 2024
38 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.16.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants