Repository navigation
How Browser Local Capture Works
Dan Roberts edited this page Aug 13, 2026
·
1 revision
The exporter uses the visual representation already owned by the current Grafana page.
- A supported panel-menu extension opens the exporter modal.
-
GrafanaAdapterdiscovers panel roots and measures them in dashboard scroll-container coordinates. -
PanelStabilityDetectorobserves loading markers, DOM mutations, dimensions, canvas sizes, and SVG structure. -
CaptureEngineprefers Grafana's panel screenshot service when the dashboard supplies a scene panel path. - The isolated
html-to-imagefallback captures compatible DOM/SVG/2D-canvas panels. -
PanelSnapshotStoreretains compressed PNG blobs even if Grafana later virtualizes a panel. -
DashboardImageComposerreconstructs the measured layout inside bounded canvas limits. - The dashboard's original scroll position is restored in
finally, including cancellation/failure paths.
The plugin never opens a second browser, iframe, or render session.
Grafana Current View Exporter