Skip to content

The 'alertmanager_max_alerts_count' is not functioning properly #5720

Closed
@damnever

Description

@damnever

Describe the bug

Due to the race condition in Alertmanager, the alertmanager_max_alerts_count is not functioning properly, the cortex_alertmanager_alerts_limiter_current_alerts may keep increasing until alerts become limited. To address this, I have sent a patch here: prometheus/alertmanager#3648

To Reproduce

See prometheus/alertmanager#3648

Expected behavior

Additional Context

I have noticed that Alertmanager has now removed support for the v1 API. Perhaps we should also consider deprecating support for the v1 API.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions