Access monitoring data in Cloud Storage

This page describes how to access monitoring data from your Cloud Storage buckets, including request rates and bandwidth usage. For information about monitoring in Cloud Storage and what metrics to use to find the data you want, see Overview of monitoring or Overview of bandwidth usage monitoring.

Monitor bucket data for individual buckets

  1. In the Trusted Cloud console, go to the Cloud Storage Buckets page.

    Go to Buckets

  2. In the list of buckets, click the name of the bucket for which you want to see monitoring data.

  3. In the Bucket details page, click the Observability tab.

    Monitoring charts are displayed.

Monitor bucket data for all buckets within a project

  1. In the Trusted Cloud console, go to the Cloud Storage Buckets page.

    Go to Buckets

  2. In the Cloud Storage navigation pane, click Monitoring.

    Monitoring charts are displayed.

The Monitoring page can also be directly accessed using the following URL:

https://console.cloud.s3nscloud.fr/storage/monitoring?project=PROJECT_ID

Where PROJECT_ID is the ID of the project whose metrics you want to monitor.

Monitor bandwidth usage

Before you begin

In order to track bandwidth monitoring:

To monitor bandwidth usage:

Console

You can view egress bandwidth usage for your project's buckets using the Quotas and system limits page with the appropriate name:

Open Cloud Storage Quotas and systems limits

  • Google Egress Bandwidth per second per region

  • Internet Egress Bandwidth per second per region

For information about bandwidth monitoring metrics and what data they represent, see Bandwidth monitoring metrics. For more information on viewing and managing quotas, see View and manage quotas.

Command line

  1. Use the following command to return Cloud Storage quota information for a project:

    gcloud alpha services quota list --service=storage.googleapis.com --consumer=projects/PROJECT_ID

    Where PROJECT_ID is the project ID.

  2. In the YAML response, look for the following:

    • storage.googleapis.com/google_egress_bandwidth

    • storage.googleapis.com/internet_egress_bandwidth

    For information about bandwidth monitoring metrics and what data they represent, see Bandwidth monitoring metrics.

For more information, see Manage your quota using the Trusted Cloud CLI.

JSON API

For information on programmatically retrieving time series information, see the ListTimeSeries command, using the following values for filter:

  • metric.type="serviceruntime.googleapis.com/quota/rate/net_usage"

  • resource.type="consumer_quota"

  • One of the following:

    • metric.label.quota_metric="storage.googleapis.com/google_egress_bandwidth"

    • metric.label.quota_metric="storage.googleapis.com/internet_egress_bandwidth"

For information about bandwidth monitoring metrics and what data they represent, see Bandwidth monitoring metrics.