GCP Cloud Storage
Overview
The GCP Cloud Storage integration with Motadata AIOps collects operational telemetry and usage metrics from Google Cloud Storage buckets. It monitors storage consumption by storage class, request volumes by operation type, error rates, network transfer activity, and object-level data movement metrics.
These metrics help administrators track storage utilization trends, identify error spikes, monitor request patterns, and maintain visibility over data lifecycle transitions across GCS buckets.
Prerequisites
- The GCP project has Cloud Storage buckets configured.
- The service account used for integration has the Storage Object Viewer and Monitoring Viewer roles.
- Required GCP API endpoints are reachable from Motadata AIOps.
- The GCP project is added in discovery with correct credentials.
List of Supported KPIs
Bucket Identity & Storage
| Metric | Description | Type |
|---|---|---|
| gcp.cloud.storage | Identifier of the GCS bucket. | String |
| gcp.cloud.storage.bytes | Total storage consumed by all objects in the bucket. | Bytes |
| gcp.cloud.storage.objects | Total number of objects stored in the bucket. | Count |
Storage by Class
| Metric | Description | Type |
|---|---|---|
| gcp.cloud.storage.standard.bytes | Storage consumed by objects in Standard storage class. | Bytes |
| gcp.cloud.storage.nearline.bytes | Storage consumed by objects in Nearline storage class. | Bytes |
| gcp.cloud.storage.coldline.bytes | Storage consumed by objects in Coldline storage class. | Bytes |
| gcp.cloud.storage.archive.bytes | Storage consumed by objects in Archive storage class. | Bytes |
| gcp.cloud.storage.multiregion.bytes | Storage consumed by objects in Multi-Region storage class. | Bytes |
Request Operations
| Metric | Description | Type |
|---|---|---|
| gcp.cloud.storage.requests | Total number of requests made to the bucket. | Count |
| gcp.cloud.storage.read.requests | Number of read requests made to the bucket. | Count |
| gcp.cloud.storage.write.requests | Number of write requests made to the bucket. | Count |
| gcp.cloud.storage.list.requests | Number of list requests made to the bucket. | Count |
| gcp.cloud.storage.delete.requests | Number of delete requests made to the bucket. | Count |
| gcp.cloud.storage.bucket.meta.requests | Number of bucket metadata requests. | Count |
Error Metrics
| Metric | Description | Type |
|---|---|---|
| gcp.cloud.storage.errors | Total number of errors returned by the bucket. | Count |
| gcp.cloud.storage.permission.denied.errors | Number of permission denied errors. | Count |
| gcp.cloud.storage.not.found.errors | Number of object not found errors. | Count |
| gcp.cloud.storage.resource.exhausted.errors | Number of resource exhausted errors. | Count |
| gcp.cloud.storage.invalid.argument.errors | Number of invalid argument errors. | Count |
| gcp.cloud.storage.failed.precondition.errors | Number of failed precondition errors. | Count |
| gcp.cloud.storage.unavailable.errors | Number of service unavailable errors. | Count |
| gcp.cloud.storage.internal.errors | Number of internal server errors. | Count |
| gcp.cloud.storage.deadline.exceeded.errors | Number of deadline exceeded errors. | Count |
| gcp.cloud.storage.unauthenticated.errors | Number of unauthenticated request errors. | Count |
| gcp.cloud.storage.aborted.errors | Number of aborted operation errors. | Count |
| gcp.cloud.storage.already.exists.errors | Number of already exists conflict errors. | Count |
Network & Data Transfer
| Metric | Description | Type |
|---|---|---|
| gcp.cloud.storage.network.sent.bytes | Total bytes sent from the bucket over the network. | Bytes |
| gcp.cloud.storage.network.received.bytes | Total bytes received into the bucket over the network. | Bytes |
| gcp.cloud.storage.copied.bytes | Total bytes copied within or across buckets. | Bytes |
| gcp.cloud.storage.deleted.bytes | Total bytes deleted from the bucket. | Bytes |
| gcp.cloud.storage.found.bytes | Total bytes of objects matched in operations. | Bytes |
| gcp.cloud.storage.copied.objects | Number of objects copied within or across buckets. | Count |
| gcp.cloud.storage.found.objects | Number of objects matched in operations. | Count |
| gcp.cloud.storage.transitions | Number of storage class transition operations performed. | Count |