Skip to content

Flapping Alerts #476

Description

@marcusboden

Some of the alerts from this charm tend to be flapping a lot. The CollectorFailed alert is prone this, because it's very dependent on the hardware of the BMC, which tend to be flaky. This results in really annoying, flapping alerts, if the BMC doesn't respond in time.

Can we improve the alertrule by adding the keep_firing_for option and have it always at least fire for an hour?
From the docs:

There is also an optional keep_firing_for clause that tells Prometheus to keep this alert firing for the specified duration after the firing condition was last met. This can be used to prevent situations such as flapping alerts, false resolutions due to lack of data loss, etc. Alerting rules without the keep_firing_for clause will deactivate on the first evaluation where the condition is not met (assuming any optional for duration described above has been satisfied).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions