Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Reporting
Reporting allows you to automatically generate PDFs from any of your dashboards and have Grafana email them to interested parties on a schedule.
Only available in Grafana Enterprise v6.4+.
Any changes you make to a dashboard used in a report are reflected the next time the report is sent. For example, if you change the time range in the dashboard, then the time range in the report changes as well.
Requirements
- SMTP must be configured for reports to be sent. Refer to SMTP in Configuration for more information.
- The Image Renderer plugin must be installed or the remote rendering service must be set up. Refer to Image rendering for more information.
Create or update a report
Currently only Organization Admins can create reports.
- Click on the reports icon in the side menu. The Reports tab allow you to view, create, and update your reports.
- Enter report information. All fields are required unless otherwise indicated.
- Name - Name of the report as you want it to appear in the Reports list.
- Choose dashboard - Select the dashboard to generate the report from.
- Recipients - Enter the emails of the people or teams that you want to receive the report.
- Reply to - (optional) The address that will appear in the Reply to field of the email.
- Custom message - (optional) Message body in the email with the report.
- Preview the report to make sure it appears as you expect. Update if necessary
- Select the layout option for generated report. By default it is set to Portrait but it’s also possible to select Landscape.
- Enter scheduling information. Options vary depending on the frequency you select.
- Save the report.
Rendering configuration
When Grafana generates a report, it will render each panel separately and then put them together in a PDF file. You can configure the per-panel rendering request timeout and the maximum number of concurrent calls to the rendering service. These options are available in the configuration file.
[reporting]
# Set timeout for each panel rendering request
rendering_timeout = 10s
# Set maximum number of concurrent calls to the rendering service
concurrent_render_limit = 10
Troubleshoot reporting
To troubleshoot and get more log information, enable debug logging in the configuration file. Refer to Configuration for more information.
[log]
filters = saml.auth:debug