Sign InTry Free

TiDB Cloud Built-in Alerting

TiDB Cloud provides you with an easy way to view alerts, edit alert rules, and subscribe to alert notification emails.

This document describes how to do these operations and provides the TiDB Cloud built-in alert conditions for your reference.

View alerts

In TiDB Cloud, you can view both active and closed alerts on the Alerts page.

  1. In the TiDB Cloud console, navigate to the Clusters page of your project.

  2. Click the name of the target cluster. The cluster overview page is displayed.

  3. Click Alerts in the left navigation pane.

  4. The Alerts page displays the active alerts by default. You can view the information of each active alert such as the alert name, trigger time, and duration.

  5. If you also want to view the closed alerts, just click the Status drop-down list and select Closed or All.

Edit alert rules

In TiDB Cloud, you can edit the alert rules by disabling or enabling the alerts or updating the alert threshold.

  1. On the Alerts page, click Edit Rules.

  2. Disable or enable alert rules as needed.

  3. Click Edit to update the threshold of an alert rule.

Subscribe to alert notification emails

To get alert notification emails of clusters in your project, take the following steps:

  1. On the Alerts page , click Subscribe Alerts.

  2. Enter your email address, and then click Subscribe.

Alternatively, you can also add the subscription from the Alert Subscription page as follows:

  1. Log in to the TiDB Cloud console.

  2. In the left navigation pane of the Clusters page, do one of the following:

    • If you have multiple projects, switch to the target project, and then click Admin > Alert Subscription.
    • If you only have one project, click Admin > Alert Subscription.
  3. Click Add Subscriber, enter your email address in the displayed dialog, and then click Add.

If an alert condition remains unchanged, the alert sends email notifications every 3 hours.

Unsubscribe from alert notification emails

If you no longer want to receive alert notification emails of clusters in your project, take the following steps:

  1. Log in to the TiDB Cloud console.

  2. In the left navigation pane of the Clusters page, do one of the following:

    • If you have multiple projects, switch to the target project, and then click Admin > Alert Subscription.
    • If you only have one project, click Admin > Alert Subscription.
  3. Locate your email address and click Unsubscribe.

  4. Click Delete to confirm the unsubscription.

TiDB Cloud built-in alert conditions

The following table provides the TiDB Cloud built-in alert conditions and the corresponding recommended actions.

ConditionRecommended Action
Total TiDB node memory utilization across cluster exceeded 70% for 10 minutesConsider increasing the node number or node size for TiDB to reduce the memory usage percentage of the current workload.
Total TiKV node memory utilization across cluster exceeded 70% for 10 minutesConsider increasing the node number or node size for TiKV to reduce the memory usage percentage of the current workload.
Total TiFlash node memory utilization across cluster exceeded 70% for 10 minutesConsider increasing the node number or node size for TiFlash to reduce the memory usage percentage of the current workload.
Total TiDB node CPU utilization exceeded 80% for 10 minutesConsider increasing the node number or node size for TiDB to reduce the CPU usage percentage of the current workload.
Total TiKV node CPU utilization exceeded 80% for 10 minutesConsider increasing the node number or node size for TiKV to reduce the CPU usage percentage of the current workload.
Total TiFlash node CPU utilization exceeded 80% for 10 minutesConsider increasing the node number or node size for TiFlash to reduce the CPU usage percentage of the current workload.
TiKV storage utilization exceeds 80%Consider increasing the node number or node storage size for TiKV to increase your storage capacity.
TiFlash storage utilization exceeds 80%Consider increasing the node number or node storage size for TiFlash to increase your storage capacity.
Data migration job met error during data exportCheck the error and see Troubleshoot data migration for help.
Data migration job met error during data importCheck the error and see Troubleshoot data migration for help.
Data migration job met error during incremental migrationCheck the error and see Troubleshoot data migration for help.
Data migration job has been paused for more than 6 hours during incremental migrationData migration job has been paused for more than 6 hours during data incremental migration. The binlog in the upstream database might be purged (depending on your database binlog purge strategy) and might cause incremental migration to fail. See Troubleshoot data migration for help.
Replication lag is larger than 10 minutes and still increasing for more than 20 minutesSee Troubleshoot data migration for help.
Download PDFRequest docs changesAsk questions on Discord
Playground
New
One-stop & interactive experience of TiDB's capabilities WITHOUT registration.
Was this page helpful?
Products
TiDB
TiDB Dedicated
TiDB Serverless
Pricing
Get Demo
Get Started
© 2023 PingCAP. All Rights Reserved.