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) {