This topic describes how to view OSS resource usage in the OSS console.

Background information

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.

Procedure

  1. Log on to the OSS console.
  2. Click Buckets, and then click the name of the target bucket.
  3. Choose Data Statistics > Basic Statistics.
    On the Basic Statistics tab, charts of Buckets, Traffic Usage, and Requests per Hour are displayed.
    • Buckets

      Records the storage usage of buckets for each period.

      Basic data item Description
      Standard-Actual Storage Usage Total storage of Standard buckets
      Storage Usage Total storage of buckets of all storage classes
      Billed Storage Usage Billed storage of buckets of all storage classes
    • 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 Archive objects
        UploadPart Upload objects by using multipart upload
        AbortMultipartUpload Stop multipart upload tasks
        UploadPartCopy Copy objects by using multipart copy
        DeleteBucketcors Delete CORS configurations for buckets
        PutBucketcors Add CORS configurations for buckets
        CompleteMultipartUpload Complete multipart upload tasks
      • 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 logging configurations
        GetBucketWebsite View static website hosting configurations
        GetBucketReferer View hotlink protection configurations
        GetBucketLifecycle View 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 Copy objects by using multipart copy
        GetBucketcors Query CORS configurations of buckets
        OptionObject Query preflight requests across origins
  4. 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.
  5. 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.