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

[8.x] Fix bug in overdue task metric script (#192863) #192899

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

Fixing a bug from elastic#192603 where
tasks in idle wouldn't show up in overdue metrics.

## To verify
1. Set `xpack.task_manager.unsafe.exclude_task_types: ['actions:*']` in
your kibana.yml
2. Startup Elasticsearch and Kibana
3. Create an always firing rule that logs a server log message
4. Observe the metrics endpoint `/api/task_manager/metrics` and that the
overdue metrics overall, for actions and for server log increase over
time because the task is skipped

(cherry picked from commit 1854acd)
@kibanamachine kibanamachine merged commit d858e7d into elastic:8.x Sep 13, 2024
31 checks passed
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

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

cc @mikecote

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