Accelerating PDF output in azure managed grafana

Klimeš Petr 0 Reputation points
2025-01-13T13:07:47.4366667+00:00

We've been using azure managed grafana version 10 for a year now and despite overall satisfaction, we've had a big problem with the speed of PDF rendering during periodic email outputs. We found that version 11 is supposed to have a redesigned rendering under the feathure "newPDFRendering". So we have set up a new azure managed graphana in version 11, but the PDF rendering is perhaps even slower - only 1 simple graph renders in 50s.

I would like to ask if the new feathure "newPDFRendering" is enabled on version 11 ? Or can it be turned on somehow ? Or what should we do to be able to generate at least 10 charts in one pdf within the 90s limit.

Thank you

Best regards and have a nice day

Azure Managed Grafana
Azure Managed Grafana
An Azure service used to deploy Grafana dashboards for analytics and monitoring solutions.
120 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pavan Minukuri 1,045 Reputation points Microsoft Vendor
    2025-01-13T22:05:01.6666667+00:00

    Hi @Klimeš Petr
    Welcome to Microsoft Q&A, Thanks for asking question here!
    To address your concerns about PDF rendering speed in Azure Managed Grafana version 11, here are the key points about the new PDFRendering feature.
    1.The new PDFRendering feature is available in Grafana 11 but must be explicitly enabled through the Grafana configuration or feature toggle settings.
    2.The new PDF rendering implementation improves performance, reducing rendering time for a complex dashboard with 200 panels from over seven minutes to just eleven seconds.

    If you are experiencing slower rendering times, such as 50 seconds for a single graph, consider the following steps.
    1.Make sure the new PDFRendering feature is enabled in your Grafana settings, found in the configuration section.
    2.Simplify your dashboards, as complex queries or too many panels can slow down rendering times.
    3.Check for network latency or resource limitations on the server running Grafana that could affect performance
    4.Use the latest patch of Grafana 11, as updates may improve rendering times with performance enhancements and bug fixes.

    To generate at least 10 charts in one PDF within a 90-second limit, consider using these strategies.
    1.Break larger dashboards into smaller batches and generate PDFs separately to optimize performance.
    2.Review and optimize the queries used in your panels to ensure they execute as quickly as possible.
    3.Use Grafana's built-in monitoring tools to analyze performance bottlenecks during PDF generation.

    Please let us if you required anything!

    Reference links: https://grafana.com/blog/2024/04/09/grafana-11-release-all-the-new-features/
    https://learn.microsoft.com/en-us/azure/managed-grafana/troubleshoot-managed-grafana
    https://grafana.com/docs/grafana/latest/whatsnew/whats-new-in-v11-0/
    https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/feature-toggles/


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.