Prometheus 钉钉自定义告警模板实现
配置钉钉告警 配置钉钉告警请参阅: https://blog.csdn.net/knight_zhou/article/details/105583741 实现钉钉的模板配置: 我们先来看看二进制包的命令行参数: $/opt/prometheus/server/ding/prometheus-webhook-dingtalk/prometheus-webhook-dingtalk -h usage: prometheus-webhook-dingtalk [<flags>] Flags: -h, --help Show context-sensitive help (also try --help-long and --help-man). --web.listen-address=":8060" The address to listen on for web interface. --web.enable-ui Enable Web UI mounted on /ui path --web.enable-lifecycle Enable reload via HTTP request. --config.file="config.yml" Path to the configuration file. --log.level=info Only log messages