- NAME
-
- gcloud beta monitoring metrics-scopes describe - describe a Cloud Monitoring metrics scope
- SYNOPSIS
-
-
gcloud beta monitoring metrics-scopes describeMETRICS_SCOPE[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)Describe a Cloud Monitoring metrics scope along with the list of projects it is monitoring.More details can be found at https://cloud.google.com/monitoring/api/ref_v3/rest/v1/locations.global.metricsScopes/get
- EXAMPLES
-
To describe a metrics scope contained within a specific project, run:
gcloud beta monitoring metrics-scopes describe MY-METRICS-SCOPE-PROJECT-IDTo describe a metrics scope in JSON, run:
gcloud beta monitoring metrics-scopes describe MY-METRICS-SCOPE-PROJECT-ID --format=jsonTo describe a metrics scope with a fully qualified metrics scope ID, run:
gcloud beta monitoring metrics-scopes describe locations/global/metricsScopes/MY-METRICS-SCOPE-PROJECT-ID - POSITIONAL ARGUMENTS
-
-
Metrics scope resource - The metrics scope to describe. This represents a Cloud
resource.
This must be specified.
METRICS_SCOPE-
ID of the metrics_scope or fully qualified identifier for the metrics_scope.
To set the
metrics_scopeattribute:-
provide the argument
metrics_scopeon the command line.
-
provide the argument
-
Metrics scope resource - The metrics scope to describe. This represents a Cloud
resource.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - API REFERENCE
-
This command uses the
monitoring/v1API. The full documentation for this API can be found at: https://cloud.google.com/monitoring/api/ - NOTES
-
This command is currently in beta and might change without notice. This variant
is also available:
gcloud alpha monitoring metrics-scopes describe
gcloud beta monitoring metrics-scopes describe
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-07 UTC.