Skip to content

Commit

Permalink
Merge pull request #84 from GoogleCloudPlatform/fixtype
Browse files Browse the repository at this point in the history
Fix metric filter call
  • Loading branch information
jmdobry committed Mar 17, 2016
2 parents ba4914c + b57be14 commit f0b511d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitoring/list_resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f0b511d

Please sign in to comment.