Projects / Grafana Current View Exporter

Grafana Current View Exporter

Export the already-rendered Grafana dashboard in the current browser session to PNG without render endpoints, refreshes, or datasource calls.

By Dan Roberts · DigitalRCS

What it solves

Operational reports often need the dashboard state an engineer is already viewing. Current View Exporter captures that rendered state as PNG instead of requesting a fresh server-rendered dashboard.

Architecture

This browser-local Grafana app prefers Grafana's panel screenshot service, with an isolated DOM capture fallback. Whole-dashboard capture visits materialized panels, preserves their measured layout, assembles compressed PNG snapshots, and restores the original scroll position. It does not send dashboard data to an external rendering service.

Key capabilities

  • Capture a single rendered panel or the entire dashboard
  • Preserve panel layout and report individual capture failures
  • Downscale oversized dashboards to conservative browser-canvas limits
  • Access export controls through the Grafana dashboard panel menu

How to use it

Open a dashboard and wait for its panels to render. From a panel menu, choose Extensions, then Export current dashboard. Capture the current panel or dashboard and download the resulting PNG. Consult the repository installation guide for the available build and setup process.

Requirements and limitations

PNG is implemented; PDF and JPEG are planned. Scrolling a lazy panel into view can trigger Grafana's normal initial query. Auto-refresh is not paused, and arbitrary third-party WebGL panels are not guaranteed to capture correctly. The repository documents Grafana 12.4 or later.

Technologies

TypeScript · Grafana

Explore more work

TimeOverlay: signed Grafana Community plugin

All projects by Dan Roberts