mirror of
https://github.com/prometheus/prometheus.git
synced 2024-09-19 23:37:31 -07:00
Remove latency metric too
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
This commit is contained in:
parent
fcfeb53d2c
commit
450d1114bc
|
@ -719,6 +719,7 @@ func (s *alertmanagerSet) sync(tgs []*targetgroup.Group) {
|
|||
if _, ok := seen[us]; ok {
|
||||
continue
|
||||
}
|
||||
s.metrics.latency.DeleteLabelValues(us)
|
||||
s.metrics.sent.DeleteLabelValues(us)
|
||||
s.metrics.errors.DeleteLabelValues(us)
|
||||
seen[us] = struct{}{}
|
||||
|
|
Loading…
Reference in a new issue