-
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
Improve ES Query reason message #166984
Comments
Pinging @elastic/actionable-observability (Team: Actionable Observability) |
Pinging @elastic/response-ops (Team:ResponseOps) |
I think we can use a similar message for the custom threshold rule and the Elastic search rule. I would start with what we currently have for the Metric threshold rule as a basis. |
Let me check how this link is used today (if any).. ++ with alignment between the reasons. |
what structure do you have for the threshold rule? I'm fine with removing it from the reason. since it's also avilalbe in the action context for sending via email for example.. |
@shanisagiv1 @doakalexi I am working on improving the custom threshold rule reason, and after discussion with @katrin-freihofner, we decided to move forward with this suggestion:
Can we use a similar structure for the ES query rule? |
Sure I can think we can do that! |
@doakalexi Nice! Does the ES query rule have only one condition or multiple conditions? The example that I shared is useful for multiple conditions, but if the ES query rule only has one condition, another alternative can be:
|
Resolves #166984 ## Summary Updating the reason message to align more with the other rule types. Updating the format to be more like this: `Document count is 18 in the last 1 min for host-0 in APM data view. Alert when above 10. ` ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios ### To verify - Create an es query rule and set the scope to Metrics, so it's visible in Observability - Verify that the reason message is correct for the 3 different types of es query rule
📝 Summary
ES query rule reason does not match the rest of the Observability rule types, as shown below:
We need to discuss this topic with @katrin-freihofner and @shanisagiv1 to develop a reason message that works for stack and observability use cases. (Or maybe we can define the reason differently for different consumers)
I suggest removing the relative link as it is not easily usable in the current state.
✅ Acceptance Criteria
The text was updated successfully, but these errors were encountered: