You are viewing a free preview of this lesson.
Subscribe to unlock all 10 lessons in this course and every other course on LearningBro.
Understanding how to monitor your Tencent Cloud resources and manage costs is essential for running a healthy cloud environment. This lesson covers Cloud Monitor, Cloud Log Service, CloudAudit, and billing tools.
Cloud Monitor is Tencent Cloud's primary monitoring service, collecting metrics and enabling alerting across all services.
Automatically collected from Tencent Cloud services:
| Service | Example Metrics |
|---|---|
| CVM | CPU utilisation, memory usage, disk I/O, network traffic |
| TencentDB | Connections, QPS, replication delay, storage usage |
| COS | Request count, bandwidth, error rate |
| CLB | Active connections, request rate, latency |
| SCF | Invocations, duration, errors, throttles |
Define alarm rules to trigger notifications:
Example: Alert when CVM CPU utilisation exceeds 85% for 5 consecutive minutes, notify via WeChat.
Create custom dashboards to visualise metrics:
Report your own application metrics to Cloud Monitor:
CLS is a fully managed log platform for collection, storage, search, and analysis:
| Feature | Description |
|---|---|
| Log collection | Collect via LogListener agent, API, or SDK |
| Full-text search | Search logs with keyword queries |
| SQL analysis | Analyse log data with SQL-like queries |
| Real-time dashboards | Visualise log metrics in real time |
| Alerting | Trigger alerts based on log query results |
| Data shipping | Forward logs to COS, CKafka, or other destinations |
CLS supports keyword search and SQL analytics:
-- Keyword search
error AND status:500
-- SQL analytics
* | SELECT status, COUNT(*) AS cnt
GROUP BY status
ORDER BY cnt DESC
LIMIT 10
| Source | Collection Method |
|---|---|
| CVM instances | LogListener agent |
| Containers (TKE) | Automatic via cluster integration |
| SCF functions | Automatic |
| CLB access logs | Built-in integration |
| COS access logs | Enable access logging |
| API Gateway | Built-in integration |
CloudAudit records API calls made to your Tencent Cloud account — the equivalent of AWS CloudTrail:
Subscribe to continue reading
Get full access to this lesson and all 10 lessons in this course.