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

add option to set noise reasons for an alert #3133

Merged
merged 36 commits into from
Jul 12, 2023
Merged

Conversation

Forfold
Copy link
Contributor

@Forfold Forfold commented Jun 28, 2023

Description:

  • Adds the ability to set notes on an alert to document signal to noise.
  • When set, a notice will appear at the top of the alert with the option to undo.
  • Moves the alert update buttons to the left (Ack, Escalate, Close), making them primary contained text buttons instead of secondary icon buttons.

Which issue(s) this PR fixes:

Out of Scope:

  • Updating alert metrics table & graph to include section for alerts with notes set

Screenshots:

New alert, no action taken

Screenshot 2023-06-28 at 11 03 57 AM

New alert, some notes checked

Screenshot 2023-06-28 at 11 04 34 AM

Notes set on alert, notice shown

Screenshot 2023-06-28 at 11 04 42 AM

Describe any introduced API changes:

  • Added type feedback to alert with the field note

migrate/migrations/20230616110941-add-alerts-feedback.sql Outdated Show resolved Hide resolved
graphql2/schema.graphql Outdated Show resolved Hide resolved
alert/store.go Outdated Show resolved Hide resolved
andrewbenington
andrewbenington previously approved these changes Jul 6, 2023
Copy link
Contributor

@andrewbenington andrewbenington left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me, plus the sql files are more readable now

alert/store.go Outdated Show resolved Hide resolved
alert/store.go Outdated Show resolved Hide resolved
alert/store.go Outdated Show resolved Hide resolved
alert/store.go Show resolved Hide resolved
graphql2/graphqlapp/alert.go Outdated Show resolved Hide resolved
graphql2/graphqlapp/alert.go Show resolved Hide resolved
alert/store.go Outdated Show resolved Hide resolved
@Forfold Forfold changed the title add option to set notes on an alert add option to set noise reasons for an alert Jul 11, 2023
Copy link
Contributor

@andrewbenington andrewbenington left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

alert/store.go Show resolved Hide resolved
migrate/migrations/20230616110941-add-alerts-feedback.sql Outdated Show resolved Hide resolved
@mastercactapus mastercactapus merged commit 34dcd40 into master Jul 12, 2023
4 checks passed
@mastercactapus mastercactapus deleted the alert-feedback branch July 12, 2023 15:02
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.

Ability to Record Alert Usefulness (noise)
4 participants