View monitoring information about OSS accelerators

更新时间:
复制 MD 格式

The Object Storage Service (OSS) accelerator monitoring feature allows you to use the Bandwidth Usage, QPS Usage, Hit Rate, and Latency monitoring items to obtain the performance and status of OSS accelerators and improve cache hit rates. This helps ensure efficient and smooth data transfer.

How to increase the cache hit rate of an OSS accelerator

If the cache hit rate of an OSS accelerator is low, you can change the path of the accelerator to cache more data and expand the cache capacity. This prevents frequent data elimination and improves transfer performance.

Prerequisites

An OSS accelerator is created. For more information, see Create an OSS accelerator.

Monitoring items

  • Bandwidth Usage: the average outbound traffic in a specific period of time. This monitoring item indicates the overall data transfer rate.

  • QPS Usage: the average number of times that the accelerator is accessed in a specific period of time. This monitoring item indicates the frequency at which the accelerator is accessed.

  • Hit Rate: the percentage of the amount of data downloaded from the OSS accelerator cache in a specific period of time to the total amount of hit data downloaded in the same period of time. A higher value indicates more efficient cache utilization.

  • Latency: the value that is obtained by dividing the total amount of time consumed to transfer data that hits the OSS accelerator cache by the total number of hits in a specific period of time.

View the monitoring information

  1. Go to the Buckets page and select the bucket that you want to manage.

  2. In the left-side navigation tree, choose Bucket Settings > OSS Accelerator. From the accelerator list, click Details in the Actions column to go to the details page of accelerator, then click Accelerator Monitoring.

  3. Specify a time range and click Search to view the bandwidth usage, QPS usage, hit rate, and latency of the OSS accelerator. The following figure provides an example.

    image

    The following table describes the monitoring metrics of OSS accelerators.

    Monitoring metric

    Description

    Unit

    Outbound Bandwidth from OSS Accelerator

    The average rate of outbound traffic of the OSS accelerator.

    Kbps

    Outbound Bandwidth from Origin

    The average rate of outbound traffic of a standard OSS bucket.

    Kbps

    Read Request

    The number of queries per second.

    Requests/s

    Hit Rate

    The hit rate for downloading accelerated cache data.

    %

    Cache Access

    The average time consumed to download accelerated cache data.

    ms

View monitoring data in CloudMonitor

OSS accelerators report monitoring data to CloudMonitor. In addition to viewing the data on the accelerator monitoring page in the OSS console, you can view all monitoring metrics of OSS accelerators in the CloudMonitor console, and build custom dashboards and configure alerts based on these metrics. Procedure:

  1. Log on to the OSS accelerator monitoring metrics page (the product category is Object Storage Service (OSS) Monitoring_Cache (oss_cache)), and view the metric name, dimensions (userId, instanceId, BucketName, and so on), statistical period (60 seconds and 3,600 seconds), Statistics (Value), and unit of each required metric. The main monitoring metrics of accelerators are described in the following table:

    Metric name (MetricName)

    Description

    Unit

    CacheOriginRecv

    Back-to-origin inbound traffic of the accelerator

    Bytes

    CacheOriginRecvBandwidth

    Back-to-origin inbound bandwidth of the accelerator

    bit/s

    CacheOriginSend

    Back-to-origin outbound traffic of the accelerator

    Bytes

    CacheOriginSendBandwidth

    Back-to-origin outbound bandwidth of the accelerator

    bit/s

    CacheRecv

    Inbound traffic of the accelerator

    Bytes

    CacheRecvBandwidth

    Inbound bandwidth of the accelerator

    bit/s

    CacheSend

    Outbound traffic of the accelerator

    Bytes

    CacheSendBandwidth

    Outbound bandwidth of the accelerator

    bit/s

  2. (Optional) Create alert rules for the metrics that you want to monitor to receive notifications when the metrics are abnormal.