This small utility which looks for duplicate grafana dashboards provisioned via kubernetes ConfigMaps. Its checks for:
- Any duplicate dashboard uid's
- Any duplicate dashboard titles
- Any duplicate title/folder combination if --folder-annotation is set
brew tap doodlescheduling/grafana-dups
brew install grafana-dups
docker pull ghcr.io/doodlescheduling/grafana-dups:v0
Flag | Short | Env | Default | Description |
---|---|---|---|---|
--file |
-f |
FILE |
/dev/stdin |
Path to input |
--allow-failure |
`` | ALLOW_FAILURE |
false |
Do not exit > 0 if an error occurred |
--folder-annotation |
-a |
FOLDER_ANNOTATION |
`` | Name of the folder annotation key |
--label-selector |
-l |
LABEL_SELECTOR |
`` | Filter resources by labels |