-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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] Too Many Buckets crashes Kibana when previewing inventory alerts #69323
Comments
Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui) |
What about setting |
That could definitely work, but I'm concerned that this API crashes Kibana entirely when you hit this error. Like it just freezes, I have to Control-C it and restart and everything. |
Is the issue that the promise is not being handled in the Alert controller? I guess it's not clear to me what changes need to be made. |
Not sure where the promise rejection occurs. Here's the traceback I got:
Looks like one of those broken call stack kind of situations, I doubt that tells us where in the code the actual problem occurred. It might not be happening in the Snapshot API. Let's keep this issue open to track it down. |
Yep, turns out that this is an uncaught error within the Inventory alert and not the Snapshot API. I'll add a handler. |
Spoke too soon. The handler I wrote worked once and has now ceased to work. This might be a deeper problem. |
It's difficult to implement a Too Many Buckets error handler for previewing inventory alerts, because the Snapshot API seems to crash Kibana when it hits one of these.
Acceptance Criteria
too_many_buckets_exception
from the Snapshot API without crashing KibanaTo Reproduce
Using data from our shared cluster, get a Snapshot of a node type that there are a LOT of (Kubernetes Pods seems to do it for me), and set the
lookbackSize
to a month.Output of the error I'm hitting:
The text was updated successfully, but these errors were encountered: