Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: TiDB如何自定义promtheus里面alertmanager的地址
[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version] 5.3
[Reproduction Path] What operations were performed when the issue occurred
[Encountered Issue: Issue Phenomenon and Impact]
When I deploy the TiDB cluster, I want to use my own alertmanager. How can I customize the Prometheus configuration so that Prometheus’s configuration is associated with my own?
PS: I can manually modify the alertmanager address in the Prometheus configuration file, but restarting TiDB or changing the configuration, adding or removing nodes, will cause the configuration file to be overwritten. Is there any way to customize it?
[Resource Configuration]
[Attachments: Screenshots / Logs / Monitoring]