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

Alert "Recent execution durations" showing no duration with time range that is order of magnitude smaller then other executions #117009

Closed
nreese opened this issue Nov 1, 2021 · 1 comment · Fixed by #117193
Assignees
Labels
bug Fixes for quality problems that affect the customer experience estimate:small Small Estimated Level of Effort Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@nreese
Copy link
Contributor

nreese commented Nov 1, 2021

Kibana version: 7.16

Steps to view problem:

  1. Create rule. Edit rule source to contain long wait. For example add await new Promise(r => setTimeout(r, 180000)); at https://github.com/elastic/kibana/blob/main/x-pack/plugins/stack_alerts/server/alert_types/geo_containment/geo_containment.ts#L159.
  2. Let the rule execute a few times.
  3. Remove wait in source.
  4. Let the rule execute again
  5. Open rule details at /app/management/insightsAndAlerting/triggersActions/rule/{rule_id}
  6. View the "Recent execution durations" table. Notice how the last execution does not show any time in the bar chart because its time is so much smaller then the other executions. I would recommend not displaying a bar smaller then 1px height regardless of actual value so users can distinguish between executions and empty slots.

Screen Shot 2021-11-01 at 11 59 41 AM

@nreese nreese added bug Fixes for quality problems that affect the customer experience Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) labels Nov 1, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@nreese nreese changed the title Alert "Recent execution durations" showing no duration with large time range differences Alert "Recent execution durations" showing no duration with time range that is order of magnitude smaller then other executions Nov 1, 2021
@ymao1 ymao1 self-assigned this Nov 2, 2021
@ymao1 ymao1 added the estimate:small Small Estimated Level of Effort label Nov 2, 2021
@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience estimate:small Small Estimated Level of Effort Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants