tencent cloud

TencentDB for MongoDB

Release Notes and Announcements
Release Notes
Announcements
User Guide
Product Introduction
Overview
Strengths
Use Cases
Cluster Architecture
Product Specifications
Features
Regions and AZs
Terms
Service Regions and Service Providers
Purchase Guide
Billing Overview
MongoDB Pricing
Billing Formula
Payment Overdue
Backup Space Billing
Configuration Adjustment Billing
Getting Started
Quickly Creating an Instance
Connecting to a TencentDB for MongoDB Instance
Reading/Writing Database
Operation Guide
Access Management
Instance Management
Node Management
Version Upgrade
Network Configuration
Monitoring
Backup and Rollback
Database Audit
Data Security
SSL Authentication
Log Management
Database Management
Multi-AZ Deployment
Disaster Recovery/Read-Only Instances
Parameter Configuration
Recycle Bin
Task Management
Performance Optimization
Data Migration Guide
Practical Tutorial
Optimizing Indexes to Break Through Read/Write Performance Bottlenecks
Troubleshooting Mongos Load Imbalance in Sharded Cluster
Considerations for Using Shard Clusters
Sample of Reading and Writing Data in MongoDB Instance
Methods for Importing and Exporting Data Based on CVM Connected with MongoDB
What to Do for Errors of Repeated Instance Creation and Deletion of Databases with the Same Names?
Troubleshooting MongoDB Connection Failures
Shard Removal Task: Guide for Confirming the Progress and Troubleshooting Issues
Performance Fine-Tuning
Ops and Development Guide
Development Specifications
Command Support in Sharded Cluster v3.2
Command Support in v3.6
Development Ops
Troubleshooting
Increased Slow Queries
Number of Connections Exceeding Limit
API Documentation
History
Introduction
API Category
Making API Requests
Instance APIs
Backup APIs
Account APIs
Other APIs
Task APIs
Introduction
Data Types
Error Codes
Instance Connection
Shell Connection Sample
PHP Connection Sample
Node.js Connection Sample
Java Connection Sample
Python Connection Sample
Python Read/Write Sample
Go Connection Sample
PHP Reconnection Sample
Product Performance
Test Environment
Test Method
Test Result
FAQs
Cost
Features
Sharded Cluster
Instance
Rollback and Backup
Connection
Data Migration
Others
Service Agreement
Service Level Agreement
Terms of Service
Glossary
Contact Us

Viewing Monitoring Data

PDF
Focus Mode
Font Size
Last updated: 2024-10-10 11:50:22
TencentDB for MongoDB allows you to view the change trend of each monitoring metric. This helps you stay up to date with the running status and performance of database resources, so that you can make prejudgments and prevent risks.

Background

Tencent Cloud Observability Platform (TCOP) is a real-time monitoring and alarming service for Tencent Cloud resources. It collects the data of various monitoring metrics of Tencent Cloud services and displays the data through visual charts, helping you intuitively understand the running status and performance of services. For more information, see TCOP.
Note:
Cloud Monitor (CM) was renamed TCOP on February 23, 2023.
In TencentDB for MongoDB, you can use TCOP to create dashboards and various types of charts to compare the metric data of multiple instances. In this way, you can efficiently analyze the changes of monitoring metrics. You can also use TCOP to configure real-time alarms for exceptions during database operations, allowing you to remove risks as soon as they arise.

Version description

Currently, all TencentDB for MongoDB versions support instance monitoring.

Billing Overview

Basic TCOP features such as alarming and monitoring data collection are free of charge.
Currently, only alarm SMS messages are billed.

Notes

The monitoring data is retained for 30 days.
After receiving the alarms reported by Tencent Cloud, you need to troubleshoot problems accordingly.

Prerequisites

You have activated TCOP.
You have created a TencentDB for MongoDB instance. For more information, see Creating TencentDB for MongoDB Instance.

Directions

Quickly viewing instance monitoring data

2. In the MongoDB drop-down list on the left sidebar, select Replica Set Instance or Shard Instance. The directions for the two types of instances are similar.
3. Above the Instance List on the right, select the region.
4. In the instance list, find the target instance.
5. In the Monitoring/Status column of the target instance, click

to open the instance monitoring panel, where you can quickly view the instance monitoring data.
You can select Real Time, Last 24 Hours, Last 7 Days, or any time period to view the corresponding monitoring data.
On the Requests, Connections, Capacity and QPS, and Latency tabs, you can view the data of monitoring metrics in different categories.
In the Time Granularity drop-down list, you can set the time granularity for monitoring data collection to get finer-grained data.

Select Compare Monitoring Data of Instances to enter the Dashboard List page in TCOP, create a dashboard, select the instances to be monitored, set the monitoring chart, and then you can compare the monitoring data of multiple instances in the same chart.

Click Configure Alarms to enter the Create Alarm Policy page in TCOP, set Policy Type to TencentDB for MongoDB Instance, select an alarm recipient, set the trigger condition of the monitoring metric, and configure the alarm notification method. In this way, you can stay on top of the business exceptions and prevent risks and failures promptly. For detailed directions, see Creating Alarm Policy.

Viewing monitoring details

1. In the instance list, find the target instance.
2. Click the target instance ID to enter the Instance Details page.
3. Click the System Monitoring tab to view the change trend of each monitoring metric of the entire cluster as shown below (with a replica set instance as an example):

Viewing monitoring data by monitoring object
Replica set: On the left of the System Monitoring page, select the specific instance name, primary node, and secondary node under the Cluster Overview to view the monitoring metric data of different monitoring objects.
Sharded instance: On the left of the System Monitoring page, select the specific shard name, primary node, and secondary node under the Cluster Overview to view the monitoring metric data of different monitoring objects.
Viewing monitoring data for specified time period In the top-right corner of the System Monitoring page, select Real Time, Last 24 Hours, Last 7 Days, or any time period to view the corresponding monitoring data.
Viewing monitoring data at different time granularities In the top-right corner of the System Monitoring page, select 5 seconds, 1 minute, 5 minutes, or 1 day in the drop-down list after Time Granularity to view the monitoring data at different time granularities.
Zooming in change trend chart of single metric In the metric list on the right of the System Monitoring page, find the target metric and click

to zoom in its change trend chart. You can select a time period and set a time granularity to analyze the metric change trend in a more refined manner.
Exporting monitoring chart
Exporting one metric: In the metric list, select the target metric, click

, and select Export as Image to export its change trend chart. You can also select Export Data to view and analyze the monitoring data with Excel locally.
Batch exporting monitoring data: Click Export Data above the metric list, select the target metrics in the Export Data window, click Export, and then you can view and analyze the monitoring data with Excel locally.
Setting alarm In the top-right corner of the instance monitoring page, click Configure Alarms to enter the Create Alarm Policy page in TCOP, set Policy Type to TencentDB for MongoDB Instance, select an alarm recipient, set the trigger condition of the monitoring metric, and configure the alarm notification method. In this way, you can stay on top of the metric exceptions and prevent risks and failures promptly. For detailed directions, see Creating Alarm Policy.
Comparing data In the top-right corner of the instance monitoring page, you can click Data Comparison and set the time period. By default, the data within the past hour is obtained. The curves of the monitoring metric on today and yesterday within the specified time range are displayed in different colors.



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback