This topic describes how to view OSS resource usage in the OSS console.
You can view the usage of the following resources in the OSS console:
- Basic Statistics: includes the storage usage, traffic usage, and requests per hour.
- Ranking Statistics: includes the PV/UV, source, and ranking.
- API Statistics: includes the HTTP method statistics and status codes.
- Object Access Statistics: includes the object access statistics.
This topic uses basic statistics as an example to show you how to view resource usage.
- Log on to the OSS console.
- Click the target bucket to go to the Basic Statistics tab.
On the Basic Statistics tab, charts of Buckets, Traffic Usage, and Requests per Hour are displayed.
- New console
- Choose .
- Old console
- On the bucket details page that appears, click the Basic Statistics tab.
Records the storage usage of buckets for each period.
Basic data item Description Standard Size of standard bucket storage used Archive Size of archive bucket storage used IA Size of IA bucket storage used Total storage usage Total storage of buckets of all storage classes used
- Traffic Usage
Records the traffic usage of buckets for each period.
Basic data item Description CDN inbound traffic The traffic that is generated when you use CDN to upload data to OSS CDN outbound traffic The traffic that is generated when you use CDN to download data from OSS Inbound traffic over the Internet The traffic that is generated when you upload data to OSS over the Internet Outbound traffic over the Internet The traffic that is generated when you download data from OSS over the Internet Inbound traffic over the internal network The traffic that is generated when you upload data to OSS over the VPC or classic network Outbound traffic over the internal network The traffic that is generated when you download data from OSS over the internal network Cross-region replication (CRR) inbound traffic The inbound traffic that is generated when you use CRR to copy data from the source bucket to the destination bucket CRR outbound traffic The outbound traffic that is generated when you use CRR to copy data from the source bucket to the destination bucket
- Requests per Hour
Records the number of requests initiated per hour to access the bucket. The statistics includes statistics of PUT requests and GET requests.
- PUT requests
API request Operation PutBucket Create buckets PutBucketACL Configure bucket ACLs PutBucketLogging Configure bucket log storage PutBucketWebsite Configure static web pages PutBucketReferer Configure hotlink protection PutBucketLifecycle Configure lifecycle rules DeleteBucket Delete buckets DeleteBucketLogging Disable log storage DeleteBucketWebsite Delete static web page configurations DeleteBucketLifecycle Delete lifecycle rules PutObject Upload objects CopyObject Copy objects AppendObject Append upload DeleteObject Delete objects DeleteMultipleObjects Delete parts PutObjectACL Configure object ACLs PostObject Upload objects by using POST requests PutSymlink Create symbolic links RestoreObject Restore archives UploadPart Multipart upload AbortMultipartUpload Stop multipart upload UploadPartCopy Multipart copy DeleteBucketcors Delete CORS configurations for buckets PutBucketcors Add CORS configurations for buckets CompleteMultipartUpload Complete multipart upload
- GET requests
API request Operation GetService(ListBuckets) List all buckets GetBucket(ListObject) List all objects GetBucketAcl Query bucket ACLs GetBucketLocation View the data center where a bucket is located GetBucketInfo View bucket information GetBucketLogging View bucket access log configurations GetBucketWebsite View static website hosting configurations GetBucketReferer View hotlink protection configurations GetBucketLifecycle Query bucket lifecycle configurations GetObject Download objects CopyObject Copy objects HeadObject Query object metadata GetObjectMeta Query basic object metadata GetObjectACL Query object ACLs GetSymlink Query symbolic links ListMultipartUploads List all ongoing multipart upload tasks ListParts List uploaded parts UploadPartCopy Multipart copy GetBucketcors Query CORS configurations of buckets OptionObject Query preflight requests across origins
- PUT requests
- New console
- The following figure shows how to configure a time range to view resource usage.
The configuration items are described as follows:
- Today: Only statistics generated today are displayed.
- Yesterday: Only statistics generated yesterday are displayed.
- 7 Days: Only statistics generated within the last seven days are displayed.
- Custom period: You can click Start Date and End Date to specify a period for which to return generated statistics.
- View statistics related to the basic data items based on different charts.
The following example uses the storage usage chart to describe how to view statistics related to the basic data items.
- The display statuses of basic data items are displayed in the lower-right corner of
the chart. If a filled circle is displayed in front of a basic data item, related
statistics are displayed in the chart. If an empty circle is displayed in front of
a basic data item, related statistics are not displayed in the chart.
As shown in the following figure, statistics related to Standard(GB) and Archive(GB) are not displayed in the chart. However, statistics related to Infrequent Access(GB) and Storage Usage(GB) are displayed in the chart.Note By default, statistics for all basic data items are displayed.
- To specify whether to show statistics for a basic data item, click the circle in front of the basic data item.
- To specify whether to show statistics for only a basic data item or all basic data items, double-click the circle in front of the basic data item.
- The display statuses of basic data items are displayed in the lower-right corner of the chart. If a filled circle is displayed in front of a basic data item, related statistics are displayed in the chart. If an empty circle is displayed in front of a basic data item, related statistics are not displayed in the chart.