Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 393 Bytes

README.md

File metadata and controls

18 lines (16 loc) · 393 Bytes

murafana

a small app to query grafana api

get all dashboards

get all dashboard and save to yaml file

usage

  • 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