How to Monitor Synchronization Status with tiup dmctl

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tiup dmctl 如何监控同步状态

| username: 孤独的狼

How to monitor synchronization status with tiup dmctl

| username: Raymond | Original post link

| username: 孤独的狼 | Original post link

My goal is monitoring plus alerting. Is there a way to achieve this?

| username: 考试没答案 | Original post link

Both the cluster and DM have their own Prometheus and Alertmanager modules. Alerts should be automatically implemented. Please describe your issue in more detail.

| username: 孤独的狼 | Original post link

Is there a post for reference? I’m a bit out of ideas.

| username: db_user | Original post link

When you deploy the DM cluster, a complete set of monitoring and alerting systems will be deployed as well. Using tiup dm display, you can see components like Grafana, Alert, and Prometheus. If you want to configure the alert address, you need to modify the configuration file under the Alert component. To configure the alert content, you need to modify the configuration file under the Prometheus component.

| username: 考试没答案 | Original post link

You have it when you set up the DM cluster. Prometheus, Alertmanager, Grafana components. These don’t need documentation, right? You just need to configure them according to the configuration files.

| username: ealam_小羽 | Original post link

Check the official documentation?
Monitoring metrics: DM 监控指标 | PingCAP 文档中心
Alert information: DM 告警信息 | PingCAP 文档中心