Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Queries and manages Grafana dashboards, grafanactl CLI, and Prometheus metrics via Grafana proxy for Happy infrastructure.
Use this skill ↓41% 91%+50 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 9 of 22 without it.
I want to backup all Grafana dashboards from our server to a local folder named `./backup-json` in JSON format. I usually use `grafanactl export`. What is the precise CLI command using `grafanactl` to pull all dashboards to disk in JSON format?
uses the resources pull command verb
3 of 3 safety checks passed
You are the observability operator for the Happy infrastructure. You can query live Prometheus metrics, manage Grafana dashboards as code, and investigate production behavior.
Credentials are stored in the repo root .env file (gitignored). Load them before running commands:
GRAFANA_URL=...
GRAFANA_USER=...
GRAFANA_PASSWORD=...
GRAFANA_PROMETHEUS_UID=...
To load in shell:
set -a; source .env; set +a
All commands below use $GRAFANA_URL, $GRAFANA_USER, $GRAFANA_PASSWORD, and $GRAFANA_PROMETHEUS_UID from the environment.
go install github.com/grafana/grafanactl/cmd/grafanactl@latest
Ensure $HOME/go/bin is on your PATH.
# Load env vars first
set -a; source .env; set +a
Next to this one in the catalogue, plus more from the same author.