在prometheus告警配置中将终端作为接收器添加。
示例代码:
route: receiver: 'endpoint' routes: - match: job: 'my-job' receiver: 'endpoint' receivers: - name: 'endpoint' webhook_configs: - url: 'https://example.com/alert'
上一篇:Addenabled_accessibility_servicestobatchfilecommand
下一篇:AD登录返回Token,但API返回401错误