From b57be1417705be9ac9a3c4c8964030f28dbe84a5 Mon Sep 17 00:00:00 2001 From: Bill Prin Date: Thu, 17 Mar 2016 13:15:31 -0700 Subject: [PATCH] Fix metric filter call --- monitoring/list_resources.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitoring/list_resources.js b/monitoring/list_resources.js index 8d76f6233e..bf8a6c2ccb 100644 --- a/monitoring/list_resources.js +++ b/monitoring/list_resources.js @@ -93,7 +93,7 @@ function listMetricDescriptors(authClient, projectId, callback) { var monitoring = google.monitoring('v3'); monitoring.projects.metricDescriptors.list({ auth: authClient, - filter: 'metric.name="' + METRIC + '"', + filter: 'metric.type="' + METRIC + '"', name: projectId }, function (error, metricDescriptors) { if (error) {