-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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] Showing last execution duration on Rule Management view #113935
[Alerting] Showing last execution duration on Rule Management view #113935
Conversation
…ing/show-durations-rule-mgmt
…ing/show-durations-rule-mgmt
…ing/show-durations-rule-mgmt
@@ -99,10 +99,10 @@ export function getHealthColor(status: AlertExecutionStatuses) { | |||
case 'error': | |||
return 'danger'; | |||
case 'ok': | |||
return 'subdued'; | |||
return 'primary'; |
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.
Changed these colors to reflect mockup.
Pinging @elastic/kibana-alerting-services (Team:Alerting Services) |
Tagging @gchaps to review copy on tooltips (can be seen in screenshots in the PR summary) |
…m/ymao1/kibana into alerting/show-durations-rule-mgmt
Hey @ymao1, just noticed you were running in buildkite, then went back to Jenkins. Was that just because of the test failures? |
@brianseeders i was trying to see if one was faster than the other :) but I actually forgot to check the total runtime |
Ah, okay. They should be about the same at the moment. I have a PR open though that reduces the overall time by 40 minutes, but we have to wait until we've fully moved over to merge it |
@elasticmachine merge upstream |
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!
…m/ymao1/kibana into alerting/show-durations-rule-mgmt
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.
tooltip text looks good to me
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
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Async chunks
Page load bundle
Saved Objects .kibana field count
History
To update your PR or re-run it, just comment with: cc @ymao1 |
…lastic#113935) * Adding last duration to execution status and returning in alerting routes * Fixing types * Adding helper function to format duration * Returning rule timeout value in list rules API * Updating rules table to add duration column and tweaks to match mockup * Updating rules table to add duration column and tweaks to match mockup * i18n fix * Only showing duration warning if duration is long * Unit tests * i18n fix * Fixing functional test * Aligning warning icon * Reset last duration when rule is disabled then reenabled * Fixing functional test * Fixing functional test * Restoring muted badge. Fixing scss * Dont show muted badge if rule is disabled * Moving disabled icontip to right of rule name * Updating tooltips * Updating last run Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…113935) (#114584) * Adding last duration to execution status and returning in alerting routes * Fixing types * Adding helper function to format duration * Returning rule timeout value in list rules API * Updating rules table to add duration column and tweaks to match mockup * Updating rules table to add duration column and tweaks to match mockup * i18n fix * Only showing duration warning if duration is long * Unit tests * i18n fix * Fixing functional test * Aligning warning icon * Reset last duration when rule is disabled then reenabled * Fixing functional test * Fixing functional test * Restoring muted badge. Fixing scss * Dont show muted badge if rule is disabled * Moving disabled icontip to right of rule name * Updating tooltips * Updating last run Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: ymao1 <ying.mao@elastic.co>
Relates to #111805
This addresses the rule management view portion of the issue. Will have separate PR for rule details view when those mocks become available.
Summary
Added last execution duration as a field inside the
executionStatus
of the rule saved object.Adding last execution duration as a column on the Rules Management view. Also tweaked the table to reflect mockups.
UI Changes:
Tooltip describing duration column
Warning indicator when rule duration exceeds the configured rule timeout value
Tags popover
Checklist