-
Notifications
You must be signed in to change notification settings - Fork 155
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
image rendering times out sporadically #582
Comments
had the same issue with 11.3.1, spent more than a week troubleshooting this and it looks like downgrading to 11.2.4 fixed it. directly rendering from the grafana interface (panel -> share -> generate rendered image) works fine but rendering on alert is broken. |
I can confirm the problem |
I can confirm this issue:
The image generation takes around 5s depending on the panel.
After playing around with the renderer settings I found out that using the direct link button via the grafana UI this is wotking as fast as under v10. So the difference is that the link callled by the button contains all the vars defined in the dashboard (no matter if it is used in the panel or not). The Link looks like this now: Can anybody explain how this issues/bug can be solved/switched back to the old behaviour? Thanks in advance! |
@evictorero @lucychen-grafana do you guys test this stuff? |
I can also confirm that the issue is solved by downgrading to grafana 11.2.4 as mentioned by @mikerevellesciplay . |
Thanks for the hint, @mikerevellesciplay. I've downgraded Grafana to 11.2.4 and now rendering is reliable. |
I'm also dealing with this issue, I have an app that "recreates" grafana dashboards for posting to slack, notably, only panels that query snowflake are having issues, likely due to some small lag as the queries are fairly quick. Before we upgraded Grafana, no issues. Now, I routinely get blank panels sent to slack. Downgrading is not an option for us. |
Hi everyone. Thanks for reporting this. We are trying to triage this issue and isolate this case to be able to reproduce it. Can you help us answering these questions?
|
Can you help us answering these questions? When does it start failing? Which image renderer version are you using? Is the image renderer configured as a plugin or as an external service? Which data sources use the panels that are failing? Does this issue happen randomly or can you reproduce it consistently? If you grab the URL from the panel UI in Grafana 11.3.1. Does it fail? Also not without "&__feature.dashboardSceneSolo=false" I hope this helps. |
Hi, The problem is the seems to be the panal id. With 11.3.0 the variable for the panal id changed: Here it is &viewPanel=3 Here it is &viewPanel=panel-3. Futhermore automatically "&timezone=browser&var-disk=$__all&var-threadcount=$__all" is added for variable without a definition ($__all). ################## Icinga2 2.14.3 Grafana 11.3.2 ( But also with v11.3.0 ). With v11.2.2 it works. I hope this will help. |
We are also facing this issue, by doing the downgrade it works again. Thank you for the nice explanation and investigation of the bug |
Same here, i did some tests and there were issues rendering some panels using grafana 11.4.0 and grafana-image-renderer 3.11.6 running as external service. Once i downgraded grafana to 11.2.5, rendering panels worked 100% of the time. |
What happened:
After updating grafana (to 11.3.1) and the grafana-image-renderer (to 3.11.6), some image rendering requests fail with a timeout, while most work.
As far as I can tell it affects ~25% of requests.
The log message from the renderer is:
The influx log doesn't show anything obviously problematic.
What you expected to happen:
All requests render correctly.
How to reproduce it (as minimally and precisely as possible):
The images are used on public pages: https://freifunk-bs.de/map/#!/en/map/68725132e5cb
Anything else we need to know?:
In the error case, the renderer responds with a truncated error message instead of the image:
Environment:
The text was updated successfully, but these errors were encountered: