]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard:test prometheus rules through promtool 39983/head
authorAashish Sharma <aashishsharma@localhost.localdomain>
Wed, 3 Feb 2021 07:23:56 +0000 (12:53 +0530)
committerAashish Sharma <aashishsharma@localhost.localdomain>
Wed, 10 Mar 2021 05:02:43 +0000 (10:32 +0530)
commitbe7f9e704c8d9ab70713a78c9a83481b5e26ee79
tree32a0279fda23f5bf09316152ca003d8e130d0b79
parentaf18f5db7a2f7fd441af163239df24e765d7f3ad
mgr/dashboard:test prometheus rules through promtool

This PR intends to add unit testing for prometheus rules using promtool. To run the tests run 'run-promtool-unittests.sh' file.

Fixes: https://tracker.ceph.com/issues/45415
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 53a5816deda0874a3a37e131e9bc22d88bb2a588)
install-deps.sh
monitoring/prometheus/alerts/test_alerts.yml [new file with mode: 0644]
src/test/CMakeLists.txt
src/test/run-promtool-unittests.sh [new file with mode: 0755]