The alerts module of alertmanager have some fingerprint always in the memory.

17 views
Skip to first unread message

舒文君

unread,
Jun 30, 2020, 10:57:50 PM6/30/20
to Prometheus Developers
The  Alerts.alerts run the `func (a *Alerts) gc()`, at the same time, `aggrGroup.flush` is run.

Some alert is resolved, so in the Alerts.alerts callback could delete fp from `Marker`. But, `aggrGroup.flush` with inhibitor and silencer could enter `Marker.SetInhibited` or `Marker.SetSilenced`, and then the fp will always hold by Marker in the memory.
Reply all
Reply to author
Forward
0 new messages