Skip to content

group_by is ignored #52

@radon-at-beeper

Description

@radon-at-beeper

Alertmanager has a group_by feature that allows multiple instances of a firing alert to be combined and displayed in a single message, instead of all being sent separately. This is how VictoriaMetrics describes it:

Image

Except that this Matrix bot undoes all the group_by work and sends each firing alert individually again:

const promises = alerts.map(alert => client.sendAlert(roomId, alert))

Thus rendering the feature useless.

This is related to #35, although supporting fully customizable templates is not a requirement just in order to handle group_by correctly in the built-in template.

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