Skip to content

Latest commit

 

History

History
 
 

dashboard

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Dashboard Export / Import

The script dashboard.sh is a bash utility for exporting and importing Google Cloud Monitoring dashboard.

Required utilities

Usage

Export Dashboard

Export a dashboard to a json file

Args:

  • action: export
  • dashboard_id
  • project
  • output file
./dashboard.sh export 11449921252968550000 test-project kpi.json

Import Dashboard

Import a dashboard from a json file

Args:

  • action: import
  • project_id
  • input_file
./dashboard.sh import agent-analysis kpa.json

Developing

Required utilities

A Makefile is provided. After making changes, run make to perform sanity checks.