-
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
[Dashboard] If a single visualization fails don't kill the entire dashboard #9747
Comments
I encountered the same problem during rolling out to our production environment. We have some detail fields for errors, but these errors occur seldom, sometimes not in a whole week. I exported all saved objects from dev instance and imported them into the naked prod environment. Even index templates with creation of empty indexes does not help here. Even after enabling filebeat and when we have the data of the current day in there, our main dashboards are broken, because we did not receive our one critical error during this time. Importing fake data (e.g. with very old timestamp) is nasty. |
I looked into how to fix this and I believe the problem is with the courier. When one of the requests sent to Specifically in this portion of the code:
@spalger what do you think? |
We should totally be canceling individual requests when they fail here, not all requests. |
I briefly played around with a possible solution of returning null if it failed, and filtering out those null results, but it didn't work (I believe something was still expecting a response and when it didn't get it there was an exception thrown). I'm not sure how the communication would go, in indicating which results passed and which didn't. Do you have a fix in mind, or are you willing to look into this? I can investigate further but I'm pretty sure it will be more efficient if you take a look. :) |
We're in the progress of migration and have different sets of fields populated across different customers but serve them the same dashboards. In pre-migration testing this issue is impacting every single customer but not as a result of a single panel. |
+1. This is a huge issue for us, as sometimes a heavier chart fail due to timeout, which in turn fails the entire dashboard. Only the failing chart should be blank while the others should display. Also, it seems as a dashboard only visualises charts once ALL of them have finished loading, it'd be far preferable if the charts became visible as soon as they have loaded (probably the same root cause?). |
Kibana has a problem generating the correct field information types if a field doesn't have data for it because the field_stats api won't return anything.
See #9466 and elastic/elasticsearch#22438 for reference.
Beats uses import scripts so this is not an uncommon situation to get in and I've seen a few discuss tickets related to it.
Aside from fixing the original issue, we can further help the situation by making sure an entire dashboard doesn't fail because of one bad visualization.
To Repro
The text was updated successfully, but these errors were encountered: