docker 启动
docker run -d \ -p 8080:8080 \ -e PA_LOGIN_USER=prometheusalert \ -e PA_LOGIN_PASSWORD=prometheusalert \ -e PA_TITLE=PrometheusAlert \ -e PA_OPEN_FEISHU=1 \ -e PA_OPEN_DINGDING=1 \ -e PA_OPEN_WEIXIN=1 \ feiyu563/prometheus-alert:latest
飞书相关配置:
开启飞书通知,并加入webhook地址 /app/conf/app.conf
Prometheus配置参考:
global: resolve_timeout: 5m route: group_by: ['instance'] group_wait: 10m group_interval: 10s repeat_interval: 10m receiver: 'web.hook.prometheusalert' receivers: - name: 'web.hook.prometheusalert' webhook_configs: - url: 'http://[prometheusalert_url]:8080/prometheusalert?type=fs&tpl=prometheus-fs&fsurl=飞书机器人地址,飞书机器人地址2'
标签:group,PrometheusAlert,prometheusalert,PA,8080,多渠道,OPEN,告警 From: https://www.cnblogs.com/libruce/p/17049032.html