]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard:Simplify some complex calculations in test_alerts.yml 39984/head
authorAashish Sharma <aashishsharma@localhost.localdomain>
Thu, 25 Mar 2021 05:55:37 +0000 (11:25 +0530)
committerAashish Sharma <aashishsharma@localhost.localdomain>
Fri, 23 Apr 2021 11:31:39 +0000 (17:01 +0530)
commitb57ae2edab454f48745030dc6b14e269e4c313a7
tree7682acdd8ca9fc4826e76628cb592e0f2e2e732a
parentd6a1d1781bd003ecbf2c50a4eab27ed1d48f7771
mgr/dashboard:Simplify some complex calculations in test_alerts.yml

run-promtool-unittests is failing with difference in floating point values in some complex calculations. This PR intends to simplify those calculations and fix this issue.

Fixes: https://tracker.ceph.com/issues/49952
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
(cherry picked from commit 8d2f39e6c568afb6880689160212bcc93057e194)
monitoring/prometheus/alerts/test_alerts.yml