This page discusses options for monitoring requests to Cloud Storage, including tracking errors, request rates, and data usage.
Monitoring options
Within the Google Cloud console, there are several levels of the resource hierarchy at which you can monitor your Cloud Storage requests:
Individual buckets: Within each Bucket details page, there is an Observability tab that reports metrics for that particular bucket.
All buckets: Each project has a Cloud Storage Monitoring page, accessible in the left pane for Cloud Storage. This page can also be directly accessed using the following URL:
https://console.cloud.google.com/storage/monitoring?project=PROJECT_ID
Where
PROJECT_ID
is the ID of the project whose metrics you want to monitor.All Google Cloud resources: For monitoring across all services and resources in your Google Cloud project, folder, or organization, use the Cloud Monitoring service in the Google Cloud console. This service is available at https://console.cloud.google.com/monitoring.
Default monitoring
By default, the following graphs appear in your individual bucket monitoring and your Cloud Storage Monitoring page:
Graph | Description |
---|---|
Server Error Rate | Requests with 5xx error codes. These errors are generally caused by issues internal to Google Cloud. Such errors are both retryable and applicable to the Cloud Storage SLA. |
Client Error Rate | Requests with 4xx error codes or a 304 status code with a
FAILED_PRECONDITION error. These errors indicate changes
that need to be made by or made for requesters, such as granting
requesters sufficient permission to access the relevant
Cloud Storage resources or scaling back requests to prevent
exhausting quotas.
|
Read Errors | Object reading errors, specifically for errors with an
INTERNAL , UNAVAILABLE , or
DEADLINE_EXCEEDED response code. Errors related to requests
for bucket metadata, object listings, or object metadata are not
included in this graph.
|
Write Errors | Object write errors, specifically for errors with an
INTERNAL , UNAVAILABLE , or
DEADLINE_EXCEEDED response code. Errors related to requests
for object rewrites, object compositions, metadata updates, and XML API
multipart uploads are not included in this graph.
|
Total Read/List/Get Request Count |
Counts are grouped by method type, such as requests for bucket metadata, requests for object metadata, requests for object data, and requests to list objects. |
Total Write Request Count |
Requests for object rewrites, object compositions, metadata updats, and XML API multipart uploads are not included in this graph. |
Data Ingress Rate over the Network |
|
Data Egress Rate over the Network |
|
By default, the Cloud Storage Monitoring page also contains the following monitoring widgets:
Widget | Description |
---|---|
Google Egress Bandwidth Usage | The amount of data accessed by other Google Cloud services, grouped by bucket location. For more information, see Bandwidth usage in Cloud Storage. |
You can create your own dashboard layouts and customize the data you collect by clicking the Customize dashboard button, which appears in both individual bucket monitoring tabs and in your Cloud Storage Monitoring page. For more formation, see Manage custom dashboards.