-
Notifications
You must be signed in to change notification settings - Fork 7
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
Missing panels in generated report for large dashboard #206
Comments
Could you please share the logs? The panels are rendered using |
Attached logs: pdf-reporting.log. And always the same panels are missed in the report. |
Thanks for the logs. Could you tell me the IDs of the panels that are missing in the report? Are missing panels in a collapsed row? If so, you need to use |
Missed panel is not in part of collapsed row. |
Is is possible to share your dashboard JSON model after removing any sensitive info you have? If not can you try with nightly version? Cheers |
I tried to generated report for the test dashboard, with I've similar setup as docker-compose. |
Whcih OS are you using? And how did you install chromium? Could you try using chromium in a container? |
I'm running on |
@soursing Yes, I can reproduce the behaviour with the test dashboard. Thanks a lot for testing. I will look into it. |
@soursing I pushed a fix to the main. Could you please re-install nightly release and see if it fixes on your dashboard? Cheers |
Thanks a lot for checking and providing a fix. However I agree with the comment that this fix could be improved. Instead of hardcoding the view height to a large number, it would be better to find a proper fix so it can load the panels even if height of dashboard is larger than the hardcoded value. |
Thanks a lot for testing @soursing The issue is that we need to first get the total window height when all panels are expanded and use that to set view port height to get the panel data. Basically that translates to executing the same JS twice with and without view port set. Anyways I find it is strange having to set view port height to fetch entire dashboard. It all started with Grafana v11.3 where dashboards are lazily loaded. I need to look into their frontend code to understand what is happening. For the instant, I will make a hotfix release and I will look more into it bit later. |
Hi,
When generating reports for dashboard with multiple panels (more than 20), some panels are not included in report.
It shows blank space for the missing panels.
We're not excluding any panels from report link (/api/plugins/mahendrapaipuri-dashboardreporter-app/resources/report?dashUid=UID of dashboard). Also no error is seen on grafana logs.
Grafana Version: 11.3.0
Plugin Version: 1.7.0
The text was updated successfully, but these errors were encountered: