Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: 怎么对TICDC同步异常做报警
【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~~~
Alertmanager can send alerts, the source data is in Prometheus, and you can also use PromQL formulas to extract it for other alerting platforms.
Check this out. The second comment is correct.
Is there a monitoring platform?
Check promsql to query data in Prometheus and create custom alerts.
The default rule does exist. I checked the documentation, and the first alert is: TiCDC 集群监控报警规则 | PingCAP 文档中心
Check if there is an API interface.
There is also such a need, let’s learn about it.
Try using the third-party platform Prometheus + Alertmanager.
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.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.