]> git-server-git.apps.pok.os.sepia.ceph.com Git - cephmetrics.git/commitdiff
alert-status: Use max() for health alert condition 114/head
authorZack Cerza <zack@redhat.com>
Thu, 7 Sep 2017 20:09:47 +0000 (14:09 -0600)
committerZack Cerza <zack@redhat.com>
Thu, 7 Sep 2017 20:09:47 +0000 (14:09 -0600)
last() appears to invite flapping.

Signed-off-by: Zack Cerza <zack@redhat.com>
dashboards/current/alert-status.json

index 4b951d511ecbf6865155033d86f1a7a84735b4da..21febc7049ef15f1cde8aa0434c40ff131adf8c8 100644 (file)
                            }, 
                            "reducer": {
                               "params": [], 
-                              "type": "last"
+                              "type": "max"
                            }, 
                            "type": "query"
                         }