]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard: start using alertmanager v2 53679/head
authorNizamudeen A <nia@redhat.com>
Tue, 26 Sep 2023 16:08:51 +0000 (21:38 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 26 Mar 2024 17:38:40 +0000 (23:08 +0530)
commit6f2d0b14e52885d97fdb48c2e5d7d71201494a8f
tree425279e35bc6410199fa88d94aa9b9ed748223ab
parent17a4fdbadc3f92a60ac69e3eaaef9ceef324f9f1
mgr/dashboard: start using alertmanager v2

I was looking into sorting the alerts and saw there is an api v2 for
alertmanager which also has an endpoint like `alerts/groups` which might
be something that is useful for us.

Refer: https://github.com/prometheus/alertmanager/blob/main/api/v2/openapi.yaml

Fixes: https://tracker.ceph.com/issues/65070
Signed-off-by: Nizamudeen A <nia@redhat.com>
src/pybind/mgr/dashboard/controllers/prometheus.py
src/pybind/mgr/dashboard/openapi.yaml
src/pybind/mgr/dashboard/tests/test_prometheus.py