AliyunContainerService / kube-eventer

kube-eventer emit kubernetes events to sinks
Apache License 2.0
1k stars 275 forks source link

飞书 接入webhook 的时候出现重复的数据 告警 #273

Open wjh-w opened 1 year ago

wjh-w commented 1 year ago
image

使用aliyun ack 集群 飞书 接入webhook 的时候 出现了大批量的重复告警(上图为例),希望可以支持一下,把重复告警的改成静默的方式或者 过滤重复数据 我们改了飞书的webhook.go的文件 出现这样报错 W0801 14:34:31.990374 1 webhook.go:58] Failed to send event to WebHook sink,because of failed to send msg to sink, because the response code is 400, body is : {"code":9499,"msg":"Bad Request","data":{}} E0801 14:34:32.065059 1 webhook.go:108] failed to send msg to sink, because the response code is 400, body is : {"code":9499,"msg":"Bad Request","data":{}} W0801 14:34:32.065073 1 webhook.go:58] Failed to send event to WebHook sink,because of failed to send msg to sink, because the response code is 400, body is : {"code":9499,"msg":"Bad Request","data":{