This topic describes the metrics of the OSS monitoring service.

The OSS monitoring service provides user- and bucket-level metrics for different scenarios. OSS collects statistics on and analyzes existing metrics (in addition to general time-based metrics) to provide statistics for a period of time such as request status distribution by user and monthly statistics. These statistics can facilitate metric data analysis and the application of billing policies.
Note All metrics except for statistical metrics and billable usage metrics are reported at one-minute intervals, such as sums, maximum values, and average values. Billable usage metrics are reported at one-hour intervals.

User-level metrics

User-level metrics describe the overall usage and information about all OSS buckets for an account. User-level metrics include monthly statistics, monitoring service overview, and request status details.
  • Monitoring service overview

    Monitoring service overview metrics are metrics for basic services. The following table describes the monitoring service overview metrics. Note that all of the following metrics are user-level metrics.

    Metric Unit Description
    Availability by User % The metric that describes the system availability of OSS. You can obtain the metric value based on the following formula: Metric value = 1 - Percentage of server error requests with the returned HTTP status code 5xx out of all requests.
    Valid Request Proportion by User % The percentage of valid requests out of all requests.
    Number of Total Requests by User Counts The total number of requests that are received and processed by the OSS server.
    Number of Valid Requests by User Counts The total number of requests with the returned HTTP status codes 2xx and 3xx.
    Internet Outbound Traffic by User Bytes The amount of outbound traffic sent over the Internet.
    Internet Inbound Traffic by User Bytes The amount of inbound traffic received over the Internet.
    Intranet Outbound Traffic by User Bytes The amount of outbound traffic sent over the internal network.
    Intranet Inbound Traffic by User Bytes The amount of inbound traffic received over the internal network.
    CDN Outbound Traffic by User Bytes The amount of outbound traffic sent over CDN after CDN is activated. Such outbound traffic over CDN is back-to-origin traffic.
    CDN Inbound Traffic by User Bytes The amount of inbound traffic received over CDN after CDN is activated.
    Cross-region Sync Outbound Traffic by User Bytes The amount of outbound traffic generated during data replication after cross-region replication is enabled.
    Cross-region Sync Inbound Traffic by User Bytes The amount of inbound traffic generated during data replication after cross-region replication is enabled.

    In addition to the preceding metrics, OSS also provides statistics on the request status distribution over a period of time. This metric describes requests based on their returned status and error codes, and is reported alongside the total number of requests and percentages of corresponding request types. The following section describes the metrics for request status details.

  • Request status details

    The metrics for request status details describe requests based on returned status codes and OSS error codes. These metrics are basic service metrics. The following table describes the metrics for request status details. Note that all of the following metrics are user-level metrics.

    Metric Unit Description
    Number of Server Error Requests by User Counts The total number of system-level error requests with the returned HTTP status code 5xx.
    Server Error Request Proportion by User % The percentage of server error requests out of all requests.
    Number of Network Error Requests by User Counts The total number of requests with the returned HTTP status code 499.
    Network Error Request Proportion by User % The percentage of network error requests out of all requests.
    Number of Authorization Error Requests by User Counts The total number of requests with the returned HTTP status code 403.
    Authorization Error Request Proportion by User % The percentage of authorization error requests out of all requests.
    Number of Resource Not Found Error Requests by User Counts The total number of requests with the returned HTTP status code 404.
    Resource Not Found Error Request Proportion by User % The percentage of requests with "resource not found" errors out of all requests.
    Number of Client Timeout Error Requests by User Counts The total number of requests with the returned HTTP status code 408 or OSS error code RequestTimeout.
    Client Timeout Error Request Proportion by User % The percentage of client timeout error requests out of all requests.
    Number of Client Other Error Requests by User Counts The total number of requests other than the foregoing client error requests with the returned HTTP status code 4xx.
    Client Other Error Request Proportion by User % The percentage of requests with other client errors out of all requests.
    Number of Successful Requests by User Counts The total number of requests with the returned HTTP status code 2xx.
    Successful Request Proportion by User % The percentage of successful requests out of all requests.
    Number of Redirected Requests by User Counts The total number of requests with the returned HTTP status code 3xx.
    Redirected Request Proportion by User % The percentage of redirected requests out of all requests.
  • Monthly statistics

    The metrics for monthly statistics describe the storage usage of OSS resources that you have used since 00:00:00 on the first day of the current month until the statistics collection deadline of the current month.

    The following table describes the metrics for monthly statistics.

    Metric Unit Description
    Storage Size Bytes The amount of total storage occupied by the buckets of a specified user before the statistics collection deadline.
    Internet Outbound Traffic Bytes The total amount of Internet outbound traffic sent by the user between 00:00:00 on the first day of the current month and the statistics collection deadline.
    Number of PUT Requests Counts The total number of PUT requests made by the user between 00:00:00 on the first day of the current month and the statistics collection deadline.
    Number of GET Requests Counts The total number of GET requests made by the user between 00:00:00 on the first day of the current month and the statistics collection deadline.

Bucket-level metrics

Bucket-level metrics describe specific OSS operations on a specific bucket. In addition to monthly statistics and basic service metrics such as the monitoring service overview and request status details that can be monitored at the user level, bucket-level metrics also include storage usage metrics and performance metrics such as the measurement reference, latency, and successful request category.
  • Monitoring service overview

    The bucket-level metrics for monitoring service overview describe the information about a specific bucket.

  • Request status details

    The bucket-level metrics for request status details describe the requests made to a specific bucket.

  • Monthly statistics

    The bucket-level metrics for monthly statistics describe the usage of resources in a specific bucket.

    Metric Unit Description
    Storage Size Bytes The amount of total storage occupied by the bucket before the statistics collection deadline.
    Internet Outbound Traffic Bytes The total amount of outbound traffic sent from the bucket over the Internet between 00:00:00 on the first day of the current month and the statistics collection deadline.
    Number of PUT Requests Counts The total number of PUT requests made to the bucket between 00:00:00 on the first day of the current month and the statistics collection deadline.
    Number of GET Requests Counts The total number of GET requests made to the bucket between 00:00:00 on the first day of the current month and the statistics collection deadline.
  • Measurement reference

    This metric group displays hourly metric information. The following table describes the measurement reference metrics.

    Metric Unit Description
    Storage Size Bytes The amount of storage occupied by the bucket each hour.
    Internet Outbound Traffic Bytes The total amount of outbound traffic sent from the bucket over the Internet each hour.
    Number of PUT Requests Counts The total number of PUT requests made to the bucket each hour.
    Number of GET Requests Counts The total number of GET requests made to the bucket each hour.
  • Latency

    Request latency indicates the system performance. The OSS monitoring service provides minute-level average latency and maximum latency metrics to indicate the system average response capability and thrashing. Latency metrics are classified based on OSS API request operations to provide fine-grained measurement of the system performance in response to different operations. The OSS monitoring service currently monitors only API operations that are related to buckets and involve data operations. Operations on metadata are not monitored.

    Additionally, the latency metrics are displayed based on the end-to-end (E2E) latency and server latency to facilitate the analysis of performance hotspots and environmental issues.

    • E2E latency refers to the end-to-end latency of successful requests made to OSS. E2E latency includes the time required for OSS to read a request, send the response, and receive acknowledgment of the response.
    • Server latency refers to the time required for OSS to process a successful request. Server latency does not include the network latency specified in E2E latency.

    Note that the performance-related metrics are used to monitor successful requests with the returned HTTP status code 2xx.

    The following table describes the latency metrics.

    Metric Unit Description
    GetObject Request Average E2E Latency ms The average E2E latency of successful GetObject requests.
    GetObject Request Average Server Latency ms The average server latency of successful GetObject requests.
    GetObject Request Maximum E2E Latency ms The maximum E2E latency of successful GetObject requests.
    GetObject Request Maximum Server Latency ms The maximum server latency of successful GetObject requests.
    HeadObject Request Average E2E Latency ms The average E2E latency of successful HeadObject requests.
    HeadObject Request Average Server Latency ms The average server latency of successful HeadObject requests.
    HeadObject Request Maximum E2E Latency ms The maximum E2E latency of successful HeadObject requests.
    HeadObject Request Maximum Server Latency ms The maximum server latency of successful HeadObject requests.
    PutObject Request Average E2E Latency ms The average E2E latency of successful PutObject requests.
    PutObject Request Average Server Latency ms The average server latency of successful PutObject requests.
    PutObject Request Maximum E2E Latency ms The maximum E2E latency of successful PutObject requests.
    PutObject Request Maximum Server Latency ms The maximum server latency of successful PutObject requests.
    PostObject Request Average E2E Latency ms The average E2E latency of successful PostObject requests.
    PostObject Request Average Server Latency ms The average server latency of successful PostObject requests.
    PostObject Request Maximum E2E Latency ms The maximum E2E latency of successful PostObject requests.
    PostObject Request Maximum Server Latency ms The maximum server latency of successful PostObject requests.
    AppendObject Request Average E2E Latency ms The average E2E latency of successful AppendObject requests.
    AppendObject Request Average Server Latency ms The average server latency of successful AppendObject requests.
    AppendObject Request Maximum E2E Latency ms The maximum E2E latency of successful AppendObject requests.
    AppendObject Request Maximum Server Latency ms The maximum server latency of successful AppendObject requests.
    UploadPart Request Average E2E Latency ms The average E2E latency of successful UploadPart requests.
    UploadPart Request Average Server Latency ms The average server latency of successful UploadPart requests.
    UploadPart Request Maximum E2E Latency ms The maximum E2E latency of successful UploadPart requests.
    UploadPart Request Maximum Server Latency ms The maximum server latency of successful UploadPart requests.
    UploadPartCopy Request Average E2E Latency ms The average E2E latency of successful UploadPartCopy requests.
    UploadPartCopy Request Average Server Latency ms The average server latency of successful UploadPartCopy requests.
    UploadPartCopy Request Maximum E2E Latency ms The maximum E2E latency of successful UploadPartCopy requests.
    UploadPartCopy Request Maximum Server Latency ms The maximum server latency of successful UploadPartCopy requests.
  • Successful request category

    The metrics for successful request category describe the system capability to process requests. The OSS monitoring service currently monitors only API operations that are related to buckets and involve data operations. The following table describes the metrics for successful request category.

    Metric Unit Description
    Successful GetObject Requests Counts The number of successful GetObject requests.
    Successful HeadObject Requests Counts The number of successful HeadObject requests.
    Successful PutObject Requests Counts The number of successful PutObject requests.
    Successful PostObject Requests Counts The number of successful PostObject requests.
    Successful AppendObject Requests Counts The number of successful AppendObject requests.
    Successful UploadPart Requests Counts The number of successful UploadPart requests.
    Successful UploadPartCopy Requests Counts The number of successful UploadPartCopy requests.
    Successful DeleteObject Requests Counts The number of successful DeleteObject requests.
    Successful DeleteObjects Requests Counts The number of successful DeleteObjects requests.