a small app to query grafana api
get all dashboard and save to yaml file
- add .env file to local, source .env
export GRAFANA_CLOUD_API_KEY="xxxxx"
export GRAFANA_URL="https://xxxx"
- run command
go run main.go -mode download-list
go run main.go -mode download-dashboard -uid AWSWAFV2a
go run main.go -mode download-dashboards