Open zhaoxvip opened 1 month ago
templates:
如果是外部群会报 300005
是一个内部群,同一个webhook,其它的告警采集能正常的通知,使用 prometheus-webhook-dingtalk 容器的日志每5分钟一次出现上述报错
ts=2024-10-25T07:50:19.305Z caller=dingtalk.go:103 level=error component=web target=k8s msg="Failed to send notification to DingTalk" respCode=300005 respMsg="token is not exist" ts=2024-10-25T07:50:19.305Z caller=entry.go:26 level=info component=web http_scheme=http http_proto=HTTP/1.1 http_method=POST remote_addr=10.199.253.12:39655 user_agent=Alertmanager/0.27.0 uri=http://dingtalk:8060/dingtalk/k8s/send resp_status=400 resp_bytes_length=27 resp_elapsed_ms=170.197576 msg="request complete"
config.yml
templates: