alertmanager/api/v2
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
..
client *: bump Open API dependencies (#2024) 2019-09-09 10:57:38 +02:00
models api/v2: return empty array of peers when disabled (#2203) 2020-03-10 15:47:43 +01:00
restapi api/v2: return empty array of peers when disabled (#2203) 2020-03-10 15:47:43 +01:00
api_test.go Make filter labels consistent with Prometheus (#2403) 2020-11-06 11:26:32 +01:00
api.go Make filter labels consistent with Prometheus (#2403) 2020-11-06 11:26:32 +01:00
openapi.yaml api/v2: return empty array of peers when disabled (#2203) 2020-03-10 15:47:43 +01:00