Repository navigation
[Alert details page][Custom threshold] Add history chart for multiple conditions - #180578
maryam-saeidi merged 9 commits into
Conversation
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
|
Nice work! For clarity, can we have multi condition with OR logic in a rule like this? And if so, if the first condition hasn't been met but the second one has, would the default view here look like "no alerts in the past 30 days" (bc it would show the first condition and how it hasn't been "violated" in that time period)? |
No, multi-conditions are used with AND logic. |
OK, thanks. For single condition rules, it might be nice to have the same drop-down with just the one single condition option, as a way for users to become familiar with that UI element, but I'll defer to @maciejforcone on that. Otherwise this looks like a great improvement for the rules. |
I added a condition to hide this selection for a single condition as I thought it might be confusing to see it when a user does not have any option to select from. I can remove that check in case having it regardless of the number of conditions is useful. |
|
/ci |
|
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
benakansara
left a comment
There was a problem hiding this comment.
LGTM. Left a comment above.
Added in 3360cb6
I didn't change the logic about alert annotation, so I assume this would happen in one condition as well. Would you please create a ticket for it? Or if you let me know how to reproduce it, I can create an issue for it. |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
To update your PR or re-run it, just comment with: |
created #180890 |
Fixes #179003
Summary
This PR adds a selector for multiple condition rules to the history chart:
Screen.Recording.2024-04-11.at.13.09.35.mov