alertmanager/api
Victor Araujo 846c04e807
Make filter labels consistent with Prometheus (#2403)
* Make filter labels consistent with Prometheus

Filtering the alert out when the label is missing precludes a
possible match for an empty value. This change allows the
match to be evaluated.

Closes #2342

Signed-off-by: Victor Araujo <vear91@gmail.com>

* Add tests for matchFilterLabels in v2 api

Signed-off-by: Victor Araujo <vear91@gmail.com>
2020-11-06 11:26:32 +01:00
..
metrics api/metrics/metrics.go: Fix returning wrong counter (#2126) 2019-12-04 11:26:13 +01:00
v1 Make filter labels consistent with Prometheus (#2403) 2020-11-06 11:26:32 +01:00
v2 Make filter labels consistent with Prometheus (#2403) 2020-11-06 11:26:32 +01:00
api.go api: add missing metrics for API v2 2019-05-24 14:48:45 +02:00