-
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
[Alerting] Add telemetry for number of scheduled actions during rule execution #128891
Conversation
…g/actions-telemetry
…g/actions-telemetry
@elasticmachine merge upstream |
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.
Telemetry changes LGTM!
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.
Changes LGTM!
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @ymao1 |
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!
…execution (#128891) * Adding telemetry for number of scheduled actions * Adding percentile by type types * Parsing percentiles by rule type and adding tests * Adding functional tests Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit e36a08c)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…execution (#128891) (#129253) * Adding telemetry for number of scheduled actions * Adding percentile by type types * Parsing percentiles by rule type and adding tests * Adding functional tests Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit e36a08c) Co-authored-by: Ying Mao <ying.mao@elastic.co>
Towards #122535
Summary
Adds telemetry to calculate the p50/p90/p99 values for the number of actions a rule has scheduled during a single rule execution. Calculates by rule type and across all rule types.
To Verify
https://localhost:5601/api/stats?extended=true&legacy=true
and see the following fields inside alerting telemetry:alerts.percentile_num_scheduled_actions_per_day
alerts.percentile_num_scheduled_actions_by_type_per_day
Checklist