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
Go to the Buckets page and select the bucket that you want to manage.
In the left-side navigation tree, choose . From the accelerator list, click Details in the Actions column to go to the details page of accelerator, then click Accelerator Monitoring.
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.

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:
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
CacheOriginRecvBack-to-origin inbound traffic of the accelerator
Bytes
CacheOriginRecvBandwidthBack-to-origin inbound bandwidth of the accelerator
bit/s
CacheOriginSendBack-to-origin outbound traffic of the accelerator
Bytes
CacheOriginSendBandwidthBack-to-origin outbound bandwidth of the accelerator
bit/s
CacheRecvInbound traffic of the accelerator
Bytes
CacheRecvBandwidthInbound bandwidth of the accelerator
bit/s
CacheSendOutbound traffic of the accelerator
Bytes
CacheSendBandwidthOutbound bandwidth of the accelerator
bit/s
(Optional) Create alert rules for the metrics that you want to monitor to receive notifications when the metrics are abnormal.