For the complete documentation index, see llms.txt. Markdown versions are available by appending .md to documentation URLs.

Monitor GCP Cloud Storage Bucket Metrics and Audit Logs

SigNoz Cloud - This page applies to SigNoz Cloud editions.
Self-Hosted Enterprise - This page applies to self-hosted SigNoz with an active license.

The Cloud Storage integration brings bucket metrics and logs into SigNoz, with a pre-built dashboard for the service.

Cloud Storage publishes its metrics to Cloud Monitoring and its audit logs to Cloud Logging. SigNoz reads them through the OpenTelemetry Collector running in your GCP project.

Choose a setup method

One-Click Integration

SigNoz deploys and manages the Collector for you. You turn the service on in SigNoz, and the SigNoz agent sets up metrics and logs collection in the background. Collects metrics and logs.

Prerequisites

  • Your GCP project is connected with One-Click Integration.
  • Your buckets belong to that same project. The agent monitors only the project it's deployed in.

Step 1: Turn on the service in SigNoz

  1. In SigNoz, go to Integrations > Google Cloud Platform.
  2. Select GCP Cloud Storage from the service list.
  3. Turn on Metric Collection, Log Collection, or both.
  4. Click Save.

The agent picks up the change within about 30 seconds and updates the Collector and the log sink for you. There's no Collector config to edit.

Step 2: Turn on the optional logs in GCP

Logs for bucket changes, such as creating a bucket or changing its permissions, flow with no extra work. Logs for reading and writing objects are off by default. To collect them, turn on Data Access audit logs for Cloud Storage in your project.

Skip this step if you only need metrics and bucket change logs.

Validate

  1. Wait about 10 minutes for the first metrics to arrive.

  2. In SigNoz, go to Dashboards and open GCP Cloud Storage Overview. The API, authentication, and network panels fill in first.

  3. If you turned on Log Collection, open Logs in SigNoz and start with this filter to find your project's logs:

    gcp.project = '<deployment-project-id>' AND gcp.resource_type = 'gcs_bucket'

    New log entries for your buckets appear within a few minutes of the next bucket change or, with Data Access audit logs on, the next object request.

    Verify these values:

    • <deployment-project-id>: the GCP project you connected with One-Click Integration.

What's collected

Metrics

See the Data Collected tab in the SigNoz integration for the definitive list the dashboard uses, and the GCP metrics list for full definitions.

Metric nameUnitType
storage.googleapis.com/storage/v2/total_bytesBytesGauge
storage.googleapis.com/storage/v2/total_countCountGauge
storage.googleapis.com/storage/v2/deleted_bytesBytesSum
storage.googleapis.com/api/request_countCountSum
storage.googleapis.com/authn/authentication_countCountSum
storage.googleapis.com/network/received_bytes_countBytesSum
storage.googleapis.com/network/sent_bytes_countBytesSum
Logs

With Log Collection turned on, SigNoz collects the Cloud Storage audit logs for buckets in your project:

LogWhat it containsGCP setup needed
Admin Activity audit logsChanges to buckets and their settings, such as creating or deleting a bucket and changing its IAM policyNone. GCP always writes these.
Data Access audit logsReads of bucket settings (ADMIN_READ), object reads and listings (DATA_READ), and object creates, updates, and deletes (DATA_WRITE)Turn on Data Access audit logs for Cloud Storage

Audit logs don't record access to public objects, or changes made by Object Lifecycle Management or Autoclass.

With One-Click Integration, SigNoz applies this log sink filter for you. With Manual Setup, use it when you create your log sink:

resource.type="gcs_bucket"

Troubleshooting

No logs after turning on Log Collection. Admin Activity logs only appear when a bucket or its settings change, so a quiet project may show nothing at first. Open Logs Explorer in the GCP Console and filter on resource.type="gcs_bucket" to see what GCP has written. For object reads and writes, confirm Data Access audit logs are on for Cloud Storage.

No metrics at all (One-Click). Confirm the buckets belong to the project the agent is deployed in, and that Metric Collection is on and saved. See the One-Click troubleshooting for agent and Collector checks.

Logs don't arrive (Manual). If Logs Explorer in GCP shows the logs but SigNoz doesn't, work back through the log pipeline: the push subscription must reach the Collector, and the sink's writer identity needs roles/pubsub.publisher on the topic. See Collect logs troubleshooting.

A dashboard panel is empty (Manual). The metric backing that panel is missing from your metrics_list. Compare the Data Collected tab against your otel-collector-config.yaml, add what's missing, and repeat step 3.

Bucket size and object count stay empty while other panels work. These come from storage/v2/total_bytes and storage/v2/total_count, which Cloud Storage measures once per day. Confirm that the selected buckets contain objects, then wait up to 24 hours for the next measurement before investigating further.

No Cloud Storage metrics at all (Manual). Confirm the signoz-integration-collector service account holds roles/monitoring.viewer on the project in project_id, and that the Cloud Monitoring API is enabled there. Then check the Cloud Run logs for googlecloudmonitoring receiver errors.

The bucket_name variable lists far more buckets than expected. It lists every bucket reporting metrics in the selected project. On projects with many buckets, keep the selection narrow instead of using All, so panels stay responsive.

Deleted bytes looks high after a lifecycle change. deleted_bytes reports bytes deleted during the daily reporting interval, including deletions made by lifecycle rules. It does not report only client-initiated deletes.

Next steps

Get Help

If you need help with the steps in this topic, please reach out to us on SigNoz Community Slack. If you are a SigNoz Cloud user, please use in product chat support located at the bottom right corner of your SigNoz instance or contact us at cloud-support@signoz.io.

Is this page helpful

Last updated—October 23, 2026