tencent cloud

Cloud Object Storage

Release Notes and Announcements
Release Notes
Announcements
Product Introduction
Overview
Features
Use Cases
Strengths
Concepts
Regions and Access Endpoints
Specifications and Limits
Service Regions and Service Providers
Billing
Billing Overview
Billing Method
Billable Items
Free Tier
Billing Examples
Viewing and Downloading Bill
Payment Overdue
FAQs
Getting Started
Console
Getting Started with COSBrowser
User Guide
Creating Request
Bucket
Object
Data Management
Batch Operation
Global Acceleration
Monitoring and Alarms
Operations Center
Data Processing
Content Moderation
Smart Toolbox
Data Processing Workflow
Application Integration
User Tools
Tool Overview
Installation and Configuration of Environment
COSBrowser
COSCLI (Beta)
COSCMD
COS Migration
FTP Server
Hadoop
COSDistCp
HDFS TO COS
GooseFS-Lite
Online Tools
Diagnostic Tool
Use Cases
Overview
Access Control and Permission Management
Performance Optimization
Accessing COS with AWS S3 SDK
Data Disaster Recovery and Backup
Domain Name Management Practice
Image Processing
Audio/Video Practices
Workflow
Direct Data Upload
Content Moderation
Data Security
Data Verification
Big Data Practice
COS Cost Optimization Solutions
Using COS in the Third-party Applications
Migration Guide
Migrating Local Data to COS
Migrating Data from Third-Party Cloud Storage Service to COS
Migrating Data from URL to COS
Migrating Data Within COS
Migrating Data Between HDFS and COS
Data Lake Storage
Cloud Native Datalake Storage
Metadata Accelerator
GooseFS
Data Processing
Data Processing Overview
Image Processing
Media Processing
Content Moderation
File Processing Service
File Preview
Troubleshooting
Obtaining RequestId
Slow Upload over Public Network
403 Error for COS Access
Resource Access Error
POST Object Common Exceptions
API Documentation
Introduction
Common Request Headers
Common Response Headers
Error Codes
Request Signature
Action List
Service APIs
Bucket APIs
Object APIs
Batch Operation APIs
Data Processing APIs
Job and Workflow
Content Moderation APIs
Cloud Antivirus API
SDK Documentation
SDK Overview
Preparations
Android SDK
C SDK
C++ SDK
.NET(C#) SDK
Flutter SDK
Go SDK
iOS SDK
Java SDK
JavaScript SDK
Node.js SDK
PHP SDK
Python SDK
React Native SDK
Mini Program SDK
Error Codes
Harmony SDK
Endpoint SDK Quality Optimization
Security and Compliance
Data Disaster Recovery
Data Security
Cloud Access Management
FAQs
Popular Questions
General
Billing
Domain Name Compliance Issues
Bucket Configuration
Domain Names and CDN
Object Operations
Logging and Monitoring
Permission Management
Data Processing
Data Security
Pre-signed URL Issues
SDKs
Tools
APIs
Agreements
Service Level Agreement
Privacy Policy
Data Processing And Security Agreement
Contact Us
Glossary

Querying Monitoring Data

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2025-11-14 17:11:20

Overview

COS allows you to monitor your stored data. The COS data monitoring window displays information regarding request quantity, traffic, return code, data retrieval, etc. You can also query the details and trends of data in different storage classes for different time periods. The following describes how to view the monitoring data of a single bucket with a root account or sub-account.
Note:
To view the summary of all data stored under your account, go to Data Monitoring in the COS console.

Querying with Root Account

1. Log in to the COS console.
2. Click Bucket List on the left sidebar.
3. Find the target bucket and click Monitor on the right. You can also select the target bucket and click Data Monitoring on the left sidebar on the bucket details page.
4. On the monitoring data page, view the information.

Monitoring items are as described below:
Storage: Storage usage of each storage class.
Number of Objects: Number of objects (including incomplete multipart uploads) stored in the bucket.
Number of Incomplete Multipart Uploads: Number of incomplete multipart uploads stored in the bucket. If an ongoing upload is suspended or canceled, the corresponding files will be stored in the bucket as incomplete multipart uploads.
Note:
To query the number of objects in a folder, see Viewing Folder Details.
If versioning is enabled, multiple versions of an object are counted as separate objects.
Requests: Number of all requests (including GET and PUT requests), as well as read/write requests of STANDARD and STANDARD_IA.
Traffic: Public/Private network traffic, CDN origin-pull/cross-region replication traffic, and total upload traffic over public and private networks.
Return Code: Number of 2xx, 3xx, 4xx, and 5xx status codes as well as their proportion.
Data Retrieval: Statistics of data retrievals from STANDARD_IA.
Note:
Under Details in the Current section, you can query monitoring data (including storage usage, number of objects, requests, traffic, return code, and data retrieval) of different time periods, such as today, yesterday, last 7 days, last 30 days, or a custom time period.
In the This month section, you can view data for the month, including the daily average storage usage of each storage class as well as total traffic (total public network traffic, total CDN origin-pull traffic, and total cross-region replication traffic).
Storage and Number of Objects show only data after March 1, 2020. For more detailed data, go to Billing Center, select a time period, and export the data.

Querying with Sub-account

To query monitoring data with a sub-account in the console, you need to first grant the sub-account relevant permissions.
You can grant such permissions by using a policy template or custom access policy.

Authorizing by policy template

1. Log in to the CAM console as the root account and select Users > User List to enter the user list page.
2. Find the target sub-account and click Authorize in the Operation column on the right.
3. Search for and select the QcloudMonitorFullAccess policy in the pop-up window and click OK to associate it with the sub-account. Then, the sub-account can access monitoring reports.
Note:
This policy template grants the sub-account the full access to CM. To protect the security of your account, you can customize an access policy to grant only read permissions to the sub-account.

Authorizing by custom access policy

1. Log in to the CAM console as the root account.
2. On the left sidebar, click Policies > Create Custom Policy > Create by Policy Syntax.
3. Select Blank Template and click Next.
4. Copy and paste the following policy syntax into the Policy Content input box. You can rename the policy as needed. Policy syntax:
{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"monitor:GetMonitorData"
],
"resource": "*"
}
]
}



5. Click OK. After the policy is created successfully, you can associate it with the sub-account as instructed in Authorizing by policy template.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan