-
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
[Metrics UI] Increase metric threshold test coverage #111798
Comments
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
#111465 adds at least some of these, testing specifically with a groupBy enabled. We can expand that for sure. |
Pinging @elastic/actionable-observability (Team: Actionable Observability) |
Hey @neptunian / @katrin-freihofner - do you think this work makes sense anymore if we move to a single 'threshold' type rule (as I believe is planned)? Checking this work would still be valuable if we do. |
Yes, we are working on end-to-end testing. |
Thanks @katrin-freihofner. @neptunian / @smith - Shall we wait until the new threshold types are done before we tackle this? |
@roshan-elastic We are working on a new rule to replace metric threshold, inventory and log threshold. So I am not even sure if it makes sense to put the effort into increasing the test coverage. Also, I added an integration test for metric threshold in this PR, so we already improved the coverage. My suggestion is to close this ticket in favor of the new rule. We already have a test plan for the new rule. |
Thanks a lot @maryam-saeidi - that's really helpful. @neptunian - I'll let you decide on whether we close this or not. |
I created this when we owned the rule but now it makes sense for AO to handle it as @maryam-saeidi describes. Thanks! |
We need to improve test coverage around the Metric Threshold rule and alerting. Here is our current state and an incomplete list of some scenarios we are missing.
Unit tests
Integration tests
Improvements (feel free to edit):
groupBy
is used with or without "Alert me if there's no data" and document count is <= 0The text was updated successfully, but these errors were encountered: