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 test button to alert conditions #5316

Merged
merged 3 commits into from
Nov 28, 2018
Merged

Add test button to alert conditions #5316

merged 3 commits into from
Nov 28, 2018

Conversation

edmundoa
Copy link
Contributor

The last changes in the alerting API introduced an endpoint to test alert conditions. This PR adds UI for it, so users can test if a certain alert condition would trigger an alert or not at that point of time.

This needs to be cherry-picked into 2.5.

Copy link
Member

@bernd bernd left a comment

Choose a reason for hiding this comment

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

Nice work! 👍 Two things:

This is unrelated to this change but I just noticed that the dropdown menu for conditions is named "Actions" and the one for notifications "More Actions". Should we unify that?

graylog - stream alerts overview

@bernd bernd self-assigned this Nov 28, 2018
Edmundo Alvarez added 2 commits November 28, 2018 19:04
To help users easily see whether a condition would trigger the alert or
not, add a small icon that gives a visual hint to what would happen.
Copy link
Member

@bernd bernd left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@bernd bernd merged commit 2874b99 into master Nov 28, 2018
@bernd bernd deleted the test-alert-conditions branch November 28, 2018 19:51
bernd pushed a commit that referenced this pull request Nov 28, 2018
* Add test button to alert conditions

* Add icon to easily see when alert would trigger

To help users easily see whether a condition would trigger the alert or
not, add a small icon that gives a visual hint to what would happen.

* Change dropdown menu text for consistency

(cherry picked from commit 2874b99)
bernd added a commit that referenced this pull request Nov 28, 2018
* Add test button to alert conditions

* Add icon to easily see when alert would trigger

To help users easily see whether a condition would trigger the alert or
not, add a small icon that gives a visual hint to what would happen.

* Change dropdown menu text for consistency

(cherry picked from commit 2874b99)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants