Skip to content

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.

License

Notifications You must be signed in to change notification settings

saucelabs/dashboard-fusion

Dashboard Fusion

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 Behavior

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.

Installation

go install github.com/saucelabs/dashboard-fusion/cmd/dashboard-fusion@latest

Usage

dashboard-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]

Example

Visit here for a complete example of Dashboard Fusion usage.

About

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.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks