Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/saucelabs/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.
https://github.com/saucelabs/dashboard-fusion

combine dashboard grafana grafana-dashboard merge prometheus

Last synced: about 8 hours ago
JSON representation

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.

Awesome Lists containing this project

README

        

# 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

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

## Usage

```bash
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](./example/README.md) for a complete example of Dashboard Fusion usage.