Cloud Monitoring supports the metric types that Cloud de Confiance by S3NS services define. Services write metric data to record performance information. For example, a metric might record the CPU usage for a Compute Engine instance.
Each Cloud de Confiance by S3NS metric has a type, which has the format
API.googleapis.com/METRIC_PATH.
The field API.googleapis.com specifies a service domain and
it identifies the Cloud de Confiance by S3NS service or product area that owns and emits
the metric. The field METRIC_PATH provides a hierarchical path that
uniquely identifies the specific metric within the service domain.
The reference pages list metric types by service domain:
- Name begins with A or B
- Name begins with C
- Name begins with D through H
- Name begins with I through O
- Name begins with P through Z
For each domain, the metrics are listed alphabetically.
Find metric types
To find the metric data that is of interest to you, try the following:
Search the API and product table
The following table can help you find the available metric types for a service.
For example, if you enter GKE in the filter bar, then the
table provides links to your GKE metric types.
| API | Product | Metric link |
|---|---|---|
| artifactregistry | Artifact Registry | Link to metrics |
| bigquery | BigQuery | Link to metrics |
| cloudkms | Cloud Key Management Service | Link to metrics |
| cloudsql | Cloud SQL | Link to metrics |
| compute | Compute Engine | Link to metrics |
| container | Google Kubernetes Engine | Link to metrics
This link is for older-style GKE metric types. For a list of newer metric types, see GKE system metrics. |
| dns | Cloud DNS | Link to metrics |
| iam | Identity and Access Management | Link to metrics |
| logging | Cloud Logging | Link to metrics |
| monitoring | Cloud Monitoring | Link to metrics |
| networksecurity | Google Cloud Armor | Link to metrics |
| osconfig | VM Manager | Link to metrics |
| pubsub | Pub/Sub | Link to metrics |
| storage | Cloud Storage | Link to metrics |
Issue an API request to a project
If your search terms don't match any table rows or the matched rows don't contain the data you need, then issue an API command. You can apply a filter to limit the command's response.
For example, to list metrics whose type includes disk, do the following:
Go to the
projects.metricDescriptors.listpage.In the Try this method pane, do the following:
- In the name field, enter
projects/PROJECT_ID, and replacePROJECT_IDwith your project ID. In the filter field, enter the following:
metric.type = has_substring("disk")The hierarchical path that identifies a specific metric within a service domain uses forward slashes (
/) as delimiters. You can include these delimiters in the filter. For example, the following filter matches metrics that include/disk/in their path:metric.type = has_substring("/disk/")There are other operators available. For example, to list all metrics whose type starts with
compute, then set the filter to the following:metric.type = starts_with("compute")
- In the name field, enter
Click Execute and complete the required authorization steps.
The command response is a list of metric descriptors whose
typefield matches the specified filter.
You can also issue curl commands or use client libraries to issue API
commands.