How to Set Up Alerts for TICDC Synchronization Anomalies

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

Original topic: 怎么对TICDC同步异常做报警

| username: Hacker_eZSjet7O

【TiDB Usage Environment】Production Environment
【TiDB Version】V7.5

How can I set up alerts for TICDC synchronization anomalies? I can see the lag from the Changefeed panel, but how do I set up alerts? I’ve been looking through the official documentation for a long time, and it only has alert rules but no specifics on how to do it. Seeking advice~~~

| username: Soysauce520 | Original post link

Alertmanager can send alerts, the source data is in Prometheus, and you can also use PromQL formulas to extract it for other alerting platforms.

| username: 有猫万事足 | Original post link

Check this out. The second comment is correct.

| username: wangkk2024 | Original post link

Is there a monitoring platform?

| username: Daniel-W | Original post link

Check promsql to query data in Prometheus and create custom alerts.

| username: 小龙虾爱大龙虾 | Original post link

The default rule does exist. I checked the documentation, and the first alert is: TiCDC 集群监控报警规则 | PingCAP 文档中心

| username: 友利奈绪 | Original post link

Has tudb provided it?

| username: dba远航 | Original post link

Check if there is an API interface.

| username: terry0219 | Original post link

There is also such a need, let’s learn about it.

| username: Jack-li | Original post link

Try using the third-party platform Prometheus + Alertmanager.

| username: Hacker_eZSjet7O | Original post link

Thank you very much, everyone.
PingCAP assumes you are familiar with Prometheus + Alertmanager by default, so they only provide the rules.
After studying these two, I was able to set up alerts.
End of thread.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.