-
Notifications
You must be signed in to change notification settings - Fork 166
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
Documenting rate aggregation for the new custom threshold rule #3530
Comments
@maryam-saeidi will this go into Serverless before the 8.13 release? |
@bmorelli25 It depends on when we have the mentioned PR ready for merge. I think it should still be ready by next week, in any case, I can update this ticket when that happens. I think we can add this link in a separate PR, so even though we merge the PR, we don't need to have the documentation right away and we can add the link in a future Serverless release. @paulb-elastic do you agree? |
If the docs are not ready, then merging the PR when it's ready (without the link) is a good idea @maryam-saeidi (to decouple them). If we follow up with a separate PR for the docs link, then I'd suggest ensuring it also makes 8.13, so we're not releasing the stateful version without the docs link. |
@maryam-saeidi I have a quick question about your request to:
You say that the logic for the rate aggregation in the custom threshold rule is similar to rate aggregation in the metric threshold rule. Is the logic similar enough that it makes sense to create a separate/dedicated page that covers rate aggregation for both types of rules? So we would have a page that:
And then we could point to the page from both rules. The other option is to provide a section or block in the custom threshold rule docs that explains these concepts. I'm actually pretty new to a lot of these concepts, so my apologies if I'm getting things wrong. |
@dedemorton Yes! I like the idea of having a dedicated page and linking it to both rules. |
Description
We are introducing rate aggregation to the
custom threshold
alerting rule in this PR. (To check this aggregation, you need to create a custom threshold rule from Observability > Alerts > Create rule > Custom threshold (Beta) and selectrate
aggregation)This logic is similar to rate aggregation in the
metric threshold
alerting rule, and based on some questions (like this one) it is not clear how this aggregation works behind the scene. So, we would like to share more information through documentation and possibly include a link in the rule creation flyout when rate aggregation is selected, something like:Information that can be useful to our users
We want to make sure we explain (1) how the rate is calculated and also (2) what the number shown on the preview chart means. (example)
The rate is calculated as follows: (code)
Where first is the max value of the selected field in the previous bucket, and second is the maximum value for the current bucket.
The number shown on the preview chart is, therefore, the difference between the second and first bucket divided by the number of seconds in the selected interval.
Tasks
Resources
PR: elastic/kibana#173728
Which documentation set does this change impact?
Stateful and Serverless
Feature differences
The feature is identical in Stateful and Serverless.
What release is this request related to?
8.13
Collaboration model
The documentation team
Point of contact.
Main contact: @maryam-saeidi
Stakeholders:
The text was updated successfully, but these errors were encountered: