We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1203aa commit 11e395eCopy full SHA for 11e395e
1 file changed
docs/monitoring-usage.rst
@@ -339,12 +339,12 @@ See `Monitored resource types`_ for more information about particular monitored
339
>>> from google.cloud import monitoring
340
>>> # Create a Resource object for the desired monitored resource type.
341
>>> resource = client.resource(
342
- ... 'gce_instance',
343
- ... labels={
344
- ... 'instance_id': '1234567890123456789',
345
- ... 'zone': 'us-central1-f'
346
- ... }
347
- ... )
+ ... 'gce_instance',
+ ... labels={
+ ... 'instance_id': '1234567890123456789',
+ ... 'zone': 'us-central1-f'
+ ... }
+ ... )
348
>>> # Create a Metric object, specifying the metric type as well as values for any metric labels.
349
>>> metric = client.metric(
350
... type_='custom.googleapis.com/my_metric',
0 commit comments