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

Rule details page - Phase 1 #129777

Closed
18 tasks done
emma-raffenne opened this issue Apr 7, 2022 · 8 comments
Closed
18 tasks done

Rule details page - Phase 1 #129777

emma-raffenne opened this issue Apr 7, 2022 · 8 comments
Labels
epic Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.3.0

Comments

@emma-raffenne
Copy link
Contributor

emma-raffenne commented Apr 7, 2022

Part of #129636

Feature Description

The rule definition page currently shows some data to help understand the rule and its execution. For a user to fully and clearly understand the rule, its execution history, impact, noisiness, and for better ongoing management, further details will need to be added to that page.

The following needs exist for the different personas using the rule details page.

Sub-personas or Elastic roles to keep in mind as the audience for this view -

Rule creator/editor

  1. System administrator
  2. Alert consumer with view-only access to rule details view

Acceptance Criteria

  1. New rule details page that keeps the user within the observability solution and context (and does not take the user to stack management)
  2. View the rule definition, rule type, and rule description (rule creator/editor should be able to add a rule description that captures freeform text describing what the rule does)
  3. View the rule schedule (which in future will include planned/upcoming mute schedules, scheduled disabling)
  4. View rule created by and timestamp, rule last edited by and timestamp
  5. Ability to Set and View rule current status: muted, disabled, active, error, along with reason if error
  6. Show last activity - last response status, last run duration, count of executions and alerts generated (see mockup)
  7. History of rule execution times to gauge performance, degradation patterns if any
  8. History of alerts generated by this rule, with ability to dive into the alert details

See design at elastic/observability-design#137

Implementation Tickets

@emma-raffenne emma-raffenne added Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" v8.3.0 epic labels Apr 7, 2022
@emma-raffenne
Copy link
Contributor Author

cc @vinaychandrasekhar

@vinaychandrasekhar
Copy link

vinaychandrasekhar commented Apr 7, 2022

Hi @emma-raffenne, here's some thoughts on requirements for initial release vs. features that can come later. Comments welcome.

For initial release:

  • New rule details page that keeps the user within the observability solution and context (and does not take the user to stack management)
  • Show rule definition, rule type, and rule description
  • Show rule schedule
  • Show rule created by and timestamp, rule last edited by and timestamp
  • Show and set rule current status: muted, disabled, active, error, along with reason if error
  • Show last activity - last response status, last run duration, count of executions and alerts generated (see mockup)
  • History of rule execution times to gauge performance, degradation patterns if any
  • History of alerts generated for that rule, ability to zoom in to a specific time range to look into generated alerts for that rule, with ability to dive into the alert details
  • Rule edit, delete operations (might already happen through flyout, perhaps?)

Can come later:

  • Clear indication of failed alerts, exceptions, and warnings in alert history. Where possible, include trends to indicate pattern of failures (and in future, include high-level / summary reason for errors)
  • Show history of rule edits and changes (including muting, disabling)
  • Trend of number of alerts generated per rule execution, and in a given time period, to give quick indication of "load" on users from this rule (important to see this from a user's perspective: how noisy is this alert for the user?) with # of alerts generated
  • Ability to clone the rule
  • Ability to trigger the rule manually / ad-hoc. Note that this is different from a "preview" feature that lets a user preview the results of a rule execution, useful when the user is creating or editing the rule

@emma-raffenne emma-raffenne changed the title Rule details page Rule details page - Phase 1 Apr 11, 2022
@emma-raffenne emma-raffenne added the Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) label Apr 11, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@fkanout
Copy link
Contributor

fkanout commented Apr 12, 2022

@vinaychandrasekhar, Do we need an auto-refresh for this page OR a part of it like the alerts table or rule status? Or keep it static i.e. fetch the latest info on a manual page refresh from the browser?

cc @katrin-freihofner

@vinaychandrasekhar
Copy link

Hi @fk , in my mind consistency is key. The current rule details view in stack monitoring offers that. As does a few other places like you mentioned. Please add one in for our rule details page as well. @katrin-freihofner please chime in if you have a different opinion.

@emma-raffenne
Copy link
Contributor Author

@fkanout and @vinaychandrasekhar - Please note #128449
cc @katrin-freihofner

@katrin-freihofner
Copy link
Contributor

I'm not sure I understand the question @fkanout, do you mean to refresh the alert list? As shown here:
Rule detail view

@fkanout
Copy link
Contributor

fkanout commented Apr 13, 2022

I'm talking about the auto-refresh that @emma-raffenne mentioned- Thanks Emma. #128449 (comment) cc@katrin-freihofner.

@vinaychandrasekhar I checked the stack monitoring Rule detail, and they only provide the manual refresh button (like the one highlighted in @katrin-freihofner screenshot #129777 (comment)).

I think the answer is clear now, as we are going to remove the auto-refresh from the Rules list page, #128449 (comment), so will keep the Rule detail page as it's.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.3.0
Projects
None yet
Development

No branches or pull requests

5 participants