]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard:test prometheus rules through promtool 39246/head
authorAashish Sharma <aashishsharma@localhost.localdomain>
Wed, 3 Feb 2021 07:23:56 +0000 (12:53 +0530)
committerAashish Sharma <aashishsharma@localhost.localdomain>
Mon, 8 Mar 2021 04:46:22 +0000 (10:16 +0530)
commit53a5816deda0874a3a37e131e9bc22d88bb2a588
tree62c5ed9528609ec12989f1aeee3db611bb844512
parentccf9becd2e03fdca7dce70a7adcb08a8ffa7767d
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>
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]