Updated on 2022-08-16 GMT+08:00

OBS Monitoring Metrics

Functions

This section defines the namespace, list, and dimensions of monitoring metrics reported by OBS to Cloud Eye. You can use the management console or APIs provided by Cloud Eye to search for monitoring metrics and alarms generated by OBS.

Namespace

SYS.OBS

Monitoring Metrics

Table 1 OBS metrics (for requests)

Metric ID

Metric

Description

Value Range

Monitored Entity

Monitoring Period (Original Metric)

get_request_count

GET Requests

Number of GET requests made to all buckets and objects in the buckets of a region.

Unit: count

≥ 0 counts

Bucket

1 minute

put_request_count

PUT Requests

Number of PUT requests made to all buckets and objects in the buckets of a region.

Unit: count

≥ 0 counts

Bucket

1 minute

first_byte_latency

First Byte Download Delay

Average time from receiving a GET request to the time that the system starts to respond in a measurement period.

Unit: millisecond

≥ 0 ms

Bucket

1 minute

request_count_4xx

4XX Status Codes

Number of requests whose status code returned by the server is 4XX.

Unit: count

≥ 0 counts

User

Bucket

API

1 minute

request_count_5xx

5XX Status Codes

Number of requests whose status code returned by the server is 5xx.

Unit: count

≥ 0 counts

User

Bucket

API

1 minute

total_request_latency

Average Request Latency

Average time from receiving a request to the time that the system response ends in a measurement period.

Unit: millisecond

≥ 0 ms

User

Bucket

API

1 minute

request_count_per_second

Total TPS

Average number of requests per second in a statistical period.

Unit: count

≥ 0 counts

User

Bucket

Domain name

1 minute

request_count_get_per_second

GET Request TPS

Average number of GET requests per second in a statistical period.

Unit: count

≥ 0 counts

User

Bucket

Domain name

1 minute

request_count_put_per_second

PUT Request TPS

Average number of PUT requests per second in a statistical period.

Unit: count

≥ 0 counts

User

Bucket

Domain name

1 minute

request_count_delete_per_second

DELETE Request TPS

Average number of DELETE requests per second in a statistical period.

Unit: count

≥ 0 counts

User

Bucket

Domain name

1 minute

request_success_rate

Request Success Rate

Used to measure the availability of the storage service system. It refers to the percentage of non-server error requests (with status code 5xx returned) in the total request count. It is calculated as follows:

1–5xx requests/Total requests x 100%

Unit: %

≥ 0, ≤ 100

User

Bucket

API

Domain name

1 minute

effective_request_rate

Valid request rate

Validity of client requests. Percentage of the valid requests in the total requests. It is calculated as follows:

Number of client requests whose returned status code is 2xx or 3xx/Total number of requests x 100%

Unit: %

≥ 0, ≤ 100

User

Bucket

API

1 minute

request_break_rate

Request interruption rate

Ratio of request failures caused by client interruption. It is calculated as follows:

Number of client interrupted requests/Total number of requests x 100%

Unit: %

≥ 0, ≤ 100

User

Bucket

API

1 minute

request_code_count

HTTP status code count

Measures the number of requests with status codes returned by the server. For details about response status codes, see Table 5.

Unit: count

≥ 0 counts

Bucket

API

HTTP status code

1 minute

api_request_count_per_second

API request TPS

Average number of specific API requests sent to all buckets and objects of a tenant per second within a statistical period. For details about the supported APIs, see Table 4.

≥ 0 counts

Bucket

API

1 minute

request_count_monitor_2XX

2xx Status Codes

Count of server responses to requests whose status codes are 2xx.

Unit: count

≥ 0 counts

User

Bucket

Domain name

1 minute

request_count_monitor_3XX

3xx Status Codes

Count of server responses to requests whose status codes are 3xx.

Unit: count

≥ 0 counts

User

Bucket

Domain name

1 minute

download_bytes

Total Download Bandwidth

Total size of objects downloaded per second in a measurement period.

Unit: byte/s

≥ 0 bytes/s

User

Bucket

Domain name

1 minute

download_bytes_extranet

Download Bandwidth (Internet)

Total size of objects downloaded over the Internet per second in a measurement period.

Unit: byte/s

≥ 0 bytes/s

User

Bucket

Domain name

1 minute

download_bytes_intranet

Download Bandwidth (Intranet)

Total size of objects downloaded over the Intranet per second in a measurement period.

Unit: byte/s

≥ 0 bytes/s

User

Bucket

Domain name

1 minute

upload_bytes

Total Upload Bandwidth

Total size of objects uploaded per second in a measurement period.

Unit: byte/s

≥ 0 bytes/s

User

Bucket

Domain name

1 minute

upload_bytes_extranet

Upload Bandwidth (Internet)

Total size of objects uploaded over the Internet per second in a measurement period.

Unit: byte/s

≥ 0 bytes/s

User

Bucket

Domain name

1 minute

upload_bytes_intranet

Upload Bandwidth (Intranet)

Total size of objects uploaded over the Intranet per second in a measurement period.

Unit: byte/s

≥ 0 bytes/s

User

Bucket

Domain name

1 minute

download_traffic

Total Download Traffic

Total size of objects downloaded in a measurement period.

Unit: byte

≥ 0 bytes/s

User

Bucket

Domain name

1 minute

download_traffic_extranet

Download Traffic (Internet)

Total size of objects downloaded over the Internet in a measurement period.

Unit: byte

≥ 0 bytes

User

Bucket

Domain name

1 minute

download_traffic_intranet

Download Traffic (Intranet)

Total size of objects downloaded over the Intranet in a measurement period.

Unit: byte

≥ 0 bytes

User

Bucket

Domain name

1 minute

upload_traffic

Total Upload Traffic

Total size of objects uploaded in a measurement period.

Unit: byte

≥ 0 bytes

User

Bucket

Domain name

1 minute

upload_traffic_extranet

Upload Traffic (Internet)

Total size of objects uploaded over the Internet in a measurement period.

Unit: byte

≥ 0 bytes

User

Bucket

Domain name

1 minute

upload_traffic_intranet

Upload Traffic (Intranet)

Total size of objects uploaded over the Intranet in a measurement period.

Unit: byte

≥ 0 bytes

User

Bucket

Domain name

1 minute

Table 2 OBS metrics (for storage)

Metric ID

Metric

Description

Value Range

Monitored Entity

Monitoring Period (Original Metric)

capacity_total

Total Used Storage Space

Measures storage space occupied by all data.

Unit: byte

≥ 0 bytes

User

Bucket

30 minutes

capacity_standard

Used Space - Standard Storage

Measures storage space occupied by Standard data.

Unit: byte

≥ 0 bytes

User

Bucket

30 minutes

capacity_infrequent_access

Used Space - Warm Storage

Measures storage space occupied by Warm data.

Unit: byte

≥ 0 bytes

User

Bucket

30 minutes

capacity_archive

Used Space - Cold Storage

Measures storage space occupied by Cold data.

Unit: byte

≥ 0 bytes

User

Bucket

30 minutes

object_num_all

Total Number of Objects

Measures total number of objects stored in all storage classes, including folders and files of all versions.

Unit: count

≥ 0

User

Bucket

30 minutes

object_num_standard_total

Number of Objects - Standard Storage

Measures total number of objects stored in the Standard storage class, including folders and files of all versions.

Unit: count

≥ 0

User

Bucket

30 minutes

object_num_infrequent_access_total

Number of objects in Warm storage

Measures total number of objects (including folders and files of all versions) stored in the Warm storage class.

Unit: count

≥ 0

User

Bucket

30 minutes

object_num_archive_total

Number of Objects - Clod Storage

Measures total number of objects (including folders and files of all versions) stored in the Cold storage class.

Unit: count

≥ 0

User

Bucket

30 minutes

Dimensions

Table 3 Dimensions

Key

Value

tenant_id

User dimension. The value is the Domain ID.

bucket_name

Bucket dimension. The value is the bucket name.

api_name

API dimension. For details about the value, see Table 4.

domain_name

Domain name dimension. The value is the domain name of the bucket to be accessed.

http_code

HTTP return code dimension. For details about the values, see Table 5.

Request APIs

Table 3 lists the APIs supported by the api_name dimension:

Table 4 Request APIs

ID

Name

LIST.BUCKETS

Listing buckets

PUT.BUCKET

Creating buckets

LIST.BUCKET.OBJECTS

Listing objects in a bucket

LIST.BUCKET.OBJECTVERSIONS

Listing objects in a bucket (versioning)

HEAD.BUCKET

Obtaining bucket metadata

GET.BUCKET.LOCATION

Obtaining a bucket location

LIST.BUCKET.UPLOADS

Lists multipart uploads

POST.OBJECT.MULTIDELETE

Deleting objects in a batch

LIST.BUCKET.OBJECTS

Listing objects

POST.OBJECT

Uploading objects (POST)

PUT.PART

Uploading parts

PUT.PART.COPY

Copying parts

DELETE.UPLOAD

Canceling parts

LIST.OBJECT.UPLOAD

Listing uploaded parts

POST.UPLOAD.COMPLETE

Merging parts

POST.UPLOAD.INIT

Initializing multipart tasks

PUT.OBJECT

Uploading objects

APPEND.OBJECT

Appending objects

PUT.OBJECT.COPY

Copying objects

DELETE.OBJECT

Deleting objects

GET.OBJECT

Downloading objects

HEAD.OBJECT

Heading objects

LIST.BUCKET.OBJECTVERSIONS

Listing objects with versions

POST.OBJECT.RESTORE

Restoring objects

PUT.OBJECT.METADATA

Modifying object metadata

HTTP Status Codes

Table 3 lists the HTTP status codes supported by http_code dimension.

Table 5 HTTP status codes

HTTP Status Code

Description

400

Incorrect request packet format.

401

Failed to authenticate and authorize.

403

Insufficient permission, access denied, limited MimeType, file type not allowed, or others

404

The requested resource does not exist.

405

The specified method is not allowed against the requested resource.

406

CRC32 check failed for the uploaded data.

413

Incorrect size of the uploaded object.

579

The object is successfully uploaded, but the callback fails.

599

The server fails to operate.

612

The specified resource does not exist or has been deleted.

614

The target resources already exist.

701

The block expires, the segments are discontinuous, the total block size does not match the object size, or others.