Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Want to create StackDriver dashboard from template

Is it possible to create StackDriver dashboards programmatically from a declarative template (similar to how Google Cloud Deployment allows you to create and manage cloud resources)?

We use a different GCP project for each of our environments (master, staging, prod) and want to have StackDriver dashboards with the same metrics in each project.

I checked the StackDriver Monitoring API docs as well as the Cloud Deployment supported resources and did not find any evidence of support for this use case.

like image 679
mhuston Avatar asked Dec 21 '16 00:12

mhuston


1 Answers

I'm a Product Manager with Stackdriver. There's not currently a public available dashboard API. Until that's available, one solution many of our customers use is to create a canonical dashboard template and then copy this each time a new one is needed, modifying the input data. Copy a Canonical Dashboard

like image 66
Mary Koes Avatar answered Oct 28 '22 01:10

Mary Koes