tencent cloud

Feedback

Viewing Monitoring Data

Last updated: 2022-04-08 16:45:33

    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

    • CM 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 Product Overview.
    • In TencentDB for MongoDB, you can use CM 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 CM to configure real-time alarms for exceptions during database operations, allowing you to remove risks as soon as they arise.

    Version Requirement

    Currently, TencentDB for MongoDB 4.2, 4.0, 3.6, and 3.2 support instance monitoring.

    Billing

    • Basic CM features such as alarming and monitoring data collection are free of charge.
    • Currently, only alarm SMS and phone calls 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

    Directions

    Quickly viewing instance monitoring data

    1. Log in to the TencentDB for MongoDB console.
    2. In the MongoDB drop-down list on the left sidebar, select Replica Set Instance or Sharded 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, Past 24 Hours, Past 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 CM, 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 as shown below.
      • Click Configure Alarms to enter the Create Alarm Policy page in CM, 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.

    Displaying monitoring data on dashboard

    In the Monitoring/Status column of the target instance, click to view the monitoring data dashboard as shown below:

    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):

    More Operations

    Viewing monitoring data by monitoring object

    • Replica set: On the left of the instance 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 instance 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 instance monitoring page, select Real-Time, Past 24 Hours, Past 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 instance 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 instance 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 pop-up 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 Set Alarms to enter the Create Alarm Policy page in CM, set Policy Type to TencentDB for MongoDB Instance, select an Alarm Object, 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.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support