Skip to content
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

Puppeteer: Set protocolTimeout #482

Open
AgnesToulet opened this issue Nov 16, 2023 · 2 comments
Open

Puppeteer: Set protocolTimeout #482

AgnesToulet opened this issue Nov 16, 2023 · 2 comments
Labels
component/puppeteer type/bug Something isn't working

Comments

@AgnesToulet
Copy link
Contributor

In "recent" version of Puppeteer, a new timeout had been added and ignore the one we can send to the image renderer. We should configure it either with the value configured in the image renderer settings (if possible) or with 0 (no timeout).

@AgnesToulet AgnesToulet added type/bug Something isn't working component/puppeteer labels Nov 16, 2023
@johndunderhill
Copy link

We are seeing strange performance problems generating PDFs. We have a generous global timeout set (10 minutes), but some of the panels are still failing randomly, and show an error in the produced PDF. The same panel may work fine on a subsequent attempt. There isn't any apparent patturn to the failures that we've been able to determine. This started in the latest version of Grafana Cloud at about the time of this issue. We are on currently on Grafana 10.3. Example:

image

Thank you for your work on the renderer and gofpdf.

@github-project-automation github-project-automation bot moved this to 🗂️ Needs Triage / Escalation in Sharing squad Sep 10, 2024
@evictorero evictorero moved this from 🗂️ Needs Triage / Escalation to 🗓️ To Do in Sharing squad Sep 10, 2024
@juanicabanas
Copy link
Contributor

Hi @johndunderhill does the issue persist, yet?
We're making a big change in the report generation process under newPDFRendering and reportingUseRawTimeRange FF. We plan to enable them by default in Grafana 11.5.
This allows creating the report by visiting the dashboard once, instead of visiting panel by panel and fixes many timeout issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/puppeteer type/bug Something isn't working
Projects
Status: 🗓️ To Do
Development

No branches or pull requests

3 participants