github.com/esnet/gdg

Grafana Dashboard Manager


Keywords
aws, azure-storage, backup, dashboard, dashboards, gcloud, grafana, graphite, s3
License
BSD-3-Clause-LBNL
Install
go get github.com/esnet/gdg

Documentation

Build StatusBuild StatusGo Report CardGoDoc

Grafana dash-n-grab

Grafana Dash-n-Grab (GDG) -- Dashboard/DataSource Manager. The purpose of this project is to provide an easy-to-use CLI to interact with the grafana API allowing you to backup and restore dashboard, connections (formerly datasources), and other entities.

The following remote backup locations are supported:

  • AWS S3
  • Google Storage
  • Azure Storage
  • S3 Compantible Storage (Minio, Ceph, etc)

Please find the generated documentation here and the code for updating the docs is available here

Quickstart

Quickstart screen

Release conventions.

GDG mostly follows the semver conventions with some minor modifications.

For those that are unfamiliar semver referes to X.Y.Z version patterns with

  • X = Major version
  • Y = Minor version
  • Z= patch

Most regular releases will increment the patch number. ie. 0.4.5 is a regular release, and next normal release would be 0.4.6.

Minor version change will likely introduce some breaking change. For example, renaming datasources to connections or some configuration changes that are not backward compatible etc.

Major version: Is a major feature set change for example, removing cloud support in the base release and introducing a plugin system would be 1.X release. Splitting the GDG binary into a tools and backup cli, or introducing a diff tooling that allow you to compare contexts. i.e. gdg diff dashboards prod staging is a major divergences from the current expectations so it'll be a major version bump.

For more info, please see the release notes and documentation both available here