]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/dashboard:Simplify some complex calculations in test_alerts.yml 39987/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:47:27 +0000 (17:17 +0530)
commit4573935b39b9fe7adb751740b9ad3896e9afaaaa
tree00fc8dde74224ac750b0d0756b973ece6c176e21
parenteb54d518e4ea06e9d0e44673e3a48a97311dab11
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