Skip to content

Un-monitoring a connection leaves permanent critical alerts with nothing to explain them #500

Description

@dpage

Deferred from the review of #462.

GetProbeStalenessByConnection filters c.is_monitored = TRUE, so decommissioning a
server clears its metric_staleness alert and makes every other alert on that
connection read as absentMetricProbeNotReporting. DeleteOldAlerts reaps only
cleared and acknowledged rows, so those alerts sit active indefinitely with
nothing beside them saying why.

An operator deliberately un-monitoring a connection is a different signal from a
collector dying, and connections.is_monitored already distinguishes the two, so
the information needed to handle this is present.

What to do is a product decision rather than an obvious fix: clear the alerts,
auto-acknowledge them, or give them a distinct state that explains itself in the
UI. Worth noting that this predates #462 in spirit, since a connection whose probe
has stopped reporting already fails to clear for every metric that is not marked
clearWhenAbsent.

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