alertmanager/api/v1
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
..
api_test.go Remove HipChat (#2281) 2020-06-11 15:51:10 +02:00
api.go Make filter labels consistent with Prometheus (#2403) 2020-11-06 11:26:32 +01:00