]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard:Simplify some complex calculations in test_alerts.yml 40929/head
authorAashish Sharma <aashishsharma@localhost.localdomain>
Thu, 25 Mar 2021 05:55:37 +0000 (11:25 +0530)
committerAashish Sharma <aashishsharma@localhost.localdomain>
Thu, 22 Apr 2021 09:56:55 +0000 (15:26 +0530)
commitc9ce72fb9e5e0ca9bca0adda1d633a9785e3fd1f
tree5a292b025acd50431981f4523c64daba180547ef
parentbcb94f3093832bd3376aeb4abbc07ad9feae1856
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