|
7 | 7 | posted: 2025-09-25 |
8 | 8 | --- |
9 | 9 |
|
10 | | -Scaleway Object Storage automatically sends logs and metrics to [Scaleway Cockpit](/cockpit/) for monitoring purposes. |
| 10 | +Scaleway Object Storage automatically sends detailed logs and metrics to [Scaleway Cockpit](/cockpit/) for monitoring, observability, and auditing purposes. |
| 11 | + |
| 12 | +To consult your Object Storage metrics and logs, refer to the [dedicated documentation](/object-storage/how-to/monitor-consumption/). |
| 13 | + |
| 14 | +## Metrics collected by Cockpit |
11 | 15 |
|
12 | 16 | Cockpit collects the following metrics: |
13 | 17 |
|
14 | | -- `object_storage_bucket_bandwidth_egress_bytes` |
15 | | -- `object_storage_bucket_bandwidth_ingress_bytes` |
16 | | -- `object_storage_bucket_http_response_time_seconds_bucket` |
17 | | -- `object_storage_bucket_http_response_time_seconds_count` |
18 | | -- `object_storage_bucket_http_response_time_seconds_sum` |
19 | | -- `object_storage_bucket_objects_total` |
20 | | -- `object_storage_bucket_parts_total` |
21 | | -- `object_storage_bucket_usage_bytes_total` |
| 18 | +- `object_storage_bucket_bandwidth_egress_bytes`: Total number of bytes sent from the bucket to clients (outbound traffic). |
| 19 | +- `object_storage_bucket_bandwidth_ingress_bytes`: Total number of bytes received by the bucket from clients (inbound traffic). |
| 20 | +- `object_storage_bucket_http_response_time_seconds_bucket`: Distribution of HTTP response times for bucket operations, grouped into time buckets. |
| 21 | +- `object_storage_bucket_http_response_time_seconds_count`: Total count of HTTP responses for bucket operations. |
| 22 | +- `object_storage_bucket_http_response_time_seconds_sum`: Cumulative sum of HTTP response times for bucket operations. |
| 23 | +- `object_storage_bucket_objects_total`: Total number of objects currently stored in the bucket. |
| 24 | +- `object_storage_bucket_parts_total`: Total number of multipart upload parts present in the bucket. |
| 25 | +- `object_storage_bucket_usage_bytes_total`: Total storage space used by all objects in the bucket, in bytes. |
| 26 | + |
| 27 | +## Logs collected by Cockpit |
| 28 | + |
| 29 | +Cockpit collects the following logs: |
22 | 30 |
|
| 31 | +- `@timestamp`: The exact time when the log entry was recorded. |
| 32 | +- `hp.res.header.s3`: The specific S3 API operation performed (e.g., GetObject, PutObject). |
| 33 | +- `hp.res.header.account`: The ProjectID associated with the request. |
| 34 | +- `hp.req.uri`: The URI path of the HTTP request made to the bucket. |
| 35 | +- `hp.req.method`: The HTTP method used for the request (e.g., GET, PUT, DELETE). |
| 36 | +- `hp.res.status_code`: The HTTP status code returned in response to the request. |
| 37 | +- `hp.req.header.host`: The value of the HTTP Host header in the request. |
| 38 | +- `hp.res.header.bucket`: The name of the bucket targeted by the request. |
| 39 | +- `hp.res.header.txid`: The unique transaction ID assigned to the request. |
| 40 | +- `hp.net.client_ip`: The source IP address from which the request originated. |
0 commit comments