Skip to content

4.8.0 版本一个消息中有多个告警没聚合 #490

Open
@1411078078

Description

@1411078078

使用4.8.0 版本时,同一个告警中有多条消息没有聚合,而是分成了多条消息发送

测试数据
{ "receiver": "prometheusalert-center", "status": "firing", "alerts": [ { "status": "firing", "labels": { "alertname": "接口状态异常", "group": "接口", "instance": "接口1", "job": "接口", "mode": "ding" }, "annotations": { "description": "接口状态异常,状态码为:404 ", "summary": "接口状态异常,状态码为:404" }, "startsAt": "2025-06-10T08:20:20.575Z", "endsAt": "0001-01-01T00:00:00Z", "generatorURL": "http://5bff9e238a5b:9090/graph?g0.expr\u003dprobe_http_status_code+%21%3D+200\u0026g0.tab\u003d1", "fingerprint": "fcbff4c103d1e579" }, { "status": "firing", "labels": { "alertname": "接口状态异常", "group": "接口", "instance": "接口2", "job": "接口", "mode": "ding" }, "annotations": { "description": "接口状态异常,状态码为:404 ", "summary": "接口状态异常,状态码为:404" }, "startsAt": "2025-06-10T08:20:20.575Z", "endsAt": "0001-01-01T00:00:00Z", "generatorURL": "http://5bff9e238a5b:9090/graph?g0.expr\u003dprobe_http_status_code+%21%3D+200\u0026g0.tab\u003d1", "fingerprint": "fcbff4c103d1e579" } ], "groupLabels": { "alertname": "接口状态异常" }, "commonLabels": { "alertname": "接口状态异常", "group": "IDD接口", "job": "IDD接口", "mode": "idd_ding" }, "commonAnnotations": {}, "externalURL": "", "version": "4", "groupKey": "{}:{alertname\u003d\"接口状态异常\"}", "truncatedAlerts": 0 }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions