Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[企业微信]如何将告警以alertname为单位 合并发送 #315

Open
shikeya opened this issue May 31, 2023 · 4 comments
Open

[企业微信]如何将告警以alertname为单位 合并发送 #315

shikeya opened this issue May 31, 2023 · 4 comments

Comments

@shikeya
Copy link

shikeya commented May 31, 2023

image
如何才能把这些告警以组的形式进行合并

我的alertmanager 已配置以组为单位进行告警 但是企业微信告警还是分开的

@shikeya shikeya changed the title [企业微信]如何将告警已alertname 合并发送 [企业微信]如何将告警以alertname为单位 合并发送 May 31, 2023
@jicki
Copy link
Collaborator

jicki commented Jun 7, 2023

url参数新增 split=true,该参数仅针对Prometheus告警消息有效,作用是将Prometheus分组消息拆分成单条发送。默认开启,如果Prometheus一次告警附带的同分组的告警消息条数过多,可能会导致告警消息体过大。如需关闭请在url中加入split=false

@Tiamoseven7
Copy link

我也遇到了这个问题,大佬们解决了吗

@love6875520
Copy link

url参数新增 split=true,该参数仅针对Prometheus告警消息有效,作用是将Prometheus分组消息拆分成单条发送。默认开启,如果Prometheus一次告警附带的同分组的告警消息条数过多,可能会导致告警消息体过大。如需关闭请在url中加入split=false

非常感谢

@love6875520
Copy link

我也遇到了这个问题,大佬们解决了吗

你楼上说了,在url中加入split=false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants