alertmanager/dispatch
gotjosh 805e505288
Alert metric reports different results to what the user sees via API (#2943)
* Alert metric reports different results to what the user sees via API

Fixes #1439 and #2619.

The previous metric is not _technically_ reporting incorrect results as the alerts _are_ still around and will be re-used if that same alert (equal fingerprint) is received before it is GCed. Therefore, I have kept the old metric under a new name `alertmanager_marked_alerts` and repurpose the current metric to match what the user sees in the UI.

Signed-off-by: gotjosh <josue.abreu@gmail.com>
2022-06-16 12:16:06 +02:00
..
dispatch.go Remove unused Marker from Dispatcher struct (#2898) 2022-05-02 16:28:29 +02:00
dispatch_test.go Alert metric reports different results to what the user sees via API (#2943) 2022-06-16 12:16:06 +02:00
route.go Remove unneeded nil check before ranging over slice (#2900) 2022-05-02 16:29:04 +02:00
route_test.go