From d88f45f1981c53a11a0132b4728b2aabdd6a8bd1 Mon Sep 17 00:00:00 2001 From: brandon Date: Tue, 6 Apr 2021 22:14:24 -0400 Subject: [PATCH] NaN --- helm-guestbook/templates/cluster_analysis.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-guestbook/templates/cluster_analysis.yaml b/helm-guestbook/templates/cluster_analysis.yaml index abf2b14..ba06604 100644 --- a/helm-guestbook/templates/cluster_analysis.yaml +++ b/helm-guestbook/templates/cluster_analysis.yaml @@ -7,7 +7,7 @@ spec: - name: service-name metrics: - name: success-rate - successCondition: isNaN(result[0]) || result[0] >= 0.10 + successCondition: result[0] == NaN || result[0] >= 0.10 provider: prometheus: address: "http://a0179abbebc504fe1a02cc2868d10d20-1436141555.us-east-2.elb.amazonaws.com:9090"