From 2692ac900562b5c478b35e77cad9d0fdf0e93492 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Wed, 22 Jun 2016 10:07:12 -0400 Subject: [PATCH] Add the monitoring scope to the default scopes for GCE instances created by docker-machine Signed-off-by: Jeremy Katz --- drivers/google/google.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/google/google.go b/drivers/google/google.go index 4eee269614..88d9a5cff6 100644 --- a/drivers/google/google.go +++ b/drivers/google/google.go @@ -35,7 +35,7 @@ const ( defaultUser = "docker-user" defaultMachineType = "n1-standard-1" defaultImageName = "https://www.googleapis.com/compute/v1/projects/ubuntu-os-cloud/global/images/ubuntu-1510-wily-v20151114" - defaultScopes = "https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/logging.write" + defaultScopes = "https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/logging.write,https://www.googleapis.com/auth/monitoring.write" defaultDiskType = "pd-standard" defaultDiskSize = 10 )