Dashboard Fusion is a tool for merging and updating Grafana dashboards by combining panels from different sources. It's designed to be used when working with dashboards that share common panels. It allows to update existing panels, while preserving the dashboard layout.
Fusion is performed by merging panels from multiple sources into a single dashboard.
- Panels are matched by title and type.
- If a panel with the same title and type exists in the dashboard, its content will be replaced, except for its position (preserving the dashboard layout) and id.
- If a panel with the same title and type does not exist in the dashboard, it will be appended to the end of the dashboard. Later, the dashboard can be manually reorganized to achieve the desired layout.
go install github.com/saucelabs/dashboard-fusion/cmd/dashboard-fusion@latestdashboard-fusion
--dash string Location of base dashboard [required]
--out string Location of updated dashboard, defaults to stdout
--panels strings Location of panel(s) to be merged into base dashboard [required]Visit here for a complete example of Dashboard Fusion usage.