-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[TaskManager] log health on interval with background_tasks only role #158890
Conversation
resolves elastic#158870 For Kibana servers that only have node role `background_tasks`, log the task manager health report to the Kibana logs on an interval, currently every hour.
Pinging @elastic/response-ops (Team:ResponseOps) |
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! Verified this logs for background nodes only
@elasticmachine merge upstream |
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…lastic#158890) resolves elastic#158870 ## Summary For Kibana servers that only have node role `background_tasks`, log the task manager health report to the Kibana logs on an interval, currently every hour. Co-authored-by: Kibana Machine <[email protected]> (cherry picked from commit 837ef26) # Conflicts: # x-pack/plugins/task_manager/server/plugin.ts
… role (#158890) (#159142) # Backport This will backport the following commits from `main` to `8.8`: - [[TaskManager] log health on interval with background_tasks only role (#158890)](#158890) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Patrick Mueller","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-06-06T12:42:40Z","message":"[TaskManager] log health on interval with background_tasks only role (#158890)\n\nresolves https://github.com/elastic/kibana/issues/158870\r\n\r\n## Summary\r\n\r\nFor Kibana servers that only have node role `background_tasks`, log the\r\ntask manager health report to the Kibana logs on an interval, currently\r\nevery hour.\r\n\r\nCo-authored-by: Kibana Machine <[email protected]>","sha":"837ef26fb0cced40214b25f0f1f22a8a0d610fb2","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["enhancement","release_note:skip","Feature:Task Manager","Team:ResponseOps","backport:prev-minor","v8.9.0","v8.8.2"],"number":158890,"url":"https://github.com/elastic/kibana/pull/158890","mergeCommit":{"message":"[TaskManager] log health on interval with background_tasks only role (#158890)\n\nresolves https://github.com/elastic/kibana/issues/158870\r\n\r\n## Summary\r\n\r\nFor Kibana servers that only have node role `background_tasks`, log the\r\ntask manager health report to the Kibana logs on an interval, currently\r\nevery hour.\r\n\r\nCo-authored-by: Kibana Machine <[email protected]>","sha":"837ef26fb0cced40214b25f0f1f22a8a0d610fb2"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/158890","number":158890,"mergeCommit":{"message":"[TaskManager] log health on interval with background_tasks only role (#158890)\n\nresolves https://github.com/elastic/kibana/issues/158870\r\n\r\n## Summary\r\n\r\nFor Kibana servers that only have node role `background_tasks`, log the\r\ntask manager health report to the Kibana logs on an interval, currently\r\nevery hour.\r\n\r\nCo-authored-by: Kibana Machine <[email protected]>","sha":"837ef26fb0cced40214b25f0f1f22a8a0d610fb2"}},{"branch":"8.8","label":"v8.8.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
This PR backport didn't make it into the latest BC for 8.8.1. Updating the labels. |
Just for reference, we didn't intend to put it in 8.8.1 (though would have been nice!) - I did have a label on it for 8.8.1, before 8.8.1 got pulled in, that I changed to 8.8.2, then kibanamachine added 8.8.1 after the backport. I assume this was a timing race between the merge and the FF, which I'm guessing happened the same day. It's been a while, but learned my lesson on merging backports on a FF day! |
resolves #158870
Summary
For Kibana servers that only have node role
background_tasks
, log the task manager health report to the Kibana logs on an interval, currently every hour.