-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Custom threshold] Reintroduce no data setting in the custom threshold rule #188300
[Custom threshold] Reintroduce no data setting in the custom threshold rule #188300
Conversation
Pinging @elastic/obs-ux-management-team (Team:obs-ux-management) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
@@ -164,7 +164,8 @@ describe('Expression', () => { | |||
it('should prefill the rule using the context metadata', async () => { | |||
const index = 'changedMockedIndex'; | |||
const currentOptions: CustomThresholdPrefillOptions = { | |||
alertOnGroupDisappear: false, | |||
alertOnGroupDisappear: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we get rid of the alertOnGroupDisappear
and just use alertOnNoData
for both with and without group? Since it's now mapped to a single checkbox it seems odd to keep two separate values on our schema. Or do we need to support this for backwards compatibility?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we need to support this for backward compatibility. I've added this item to be considered for the v9 release. (i.e. removing alertOnGroupDisappear
and only using alertOnNoData
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
💚 Build Succeeded
Metrics [docs]Async chunks
History
|
Fixes #188229, related to #183921, and #184465
Documentation request: elastic/observability-docs#4068
Summary
Note: I've added an item to deprecate/remove one of the no-data settings in v9.
Fixes not showing no data setting and set the related settings to false by default. Based on @maciejforcone's input, we can combine these 2 settings for simplicity, as one of them works at a time.
I also changed the tooltip according to which setting is relevant: (we use one action group for both of them in connectors)
Here is how the setting is applied in API:
Screen.Recording.2024-07-15.at.13.03.00.mov