Skip to content

Commit 7536701

Browse files
author
Bill Prin
committed
Fix monitoring usage doc
1 parent 7124a15 commit 7536701

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/monitoring-usage.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ See `Monitored resource types`_ for more information about particular monitored
343343
... 'zone': 'us-central1-f'
344344
... })
345345
>>> # Create a Metric object, specifying the metric type as well as values for any metric labels.
346-
>>> metric = client.metric(type='custom.googleapis.com/my_metric', labels={
346+
>>> metric = client.metric(type_='custom.googleapis.com/my_metric', labels={
347347
... 'status': 'successful'
348348
... })
349349

0 commit comments

Comments
 (0)