From af15aa1909bdd380a066689a816bdcc6b8cf4b53 Mon Sep 17 00:00:00 2001 From: joshulyne Date: Mon, 17 Aug 2020 19:57:34 -0700 Subject: [PATCH] Edit promql for k8s kpis with kuberhealthy blog post --- content/en/blog/_posts/2020-05-29-K8s-KPIs-with-Kuberhealthy.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/blog/_posts/2020-05-29-K8s-KPIs-with-Kuberhealthy.md b/content/en/blog/_posts/2020-05-29-K8s-KPIs-with-Kuberhealthy.md index c812715154..608524738e 100644 --- a/content/en/blog/_posts/2020-05-29-K8s-KPIs-with-Kuberhealthy.md +++ b/content/en/blog/_posts/2020-05-29-K8s-KPIs-with-Kuberhealthy.md @@ -175,7 +175,7 @@ We calculate this by measuring Kuberhealthy's [deployment check](https://github. - PromQL Query (Availability % over the past 30 days): ```promql - 1 - (sum(count_over_time(kuberhealthy_check{check="kuberhealthy/deployment", status="0"}[30d])) OR vector(0))/(sum(count_over_time(kuberhealthy_check{check="kuberhealthy/deployment", status="1"}[30d])) * 100) + 1 - (sum(count_over_time(kuberhealthy_check{check="kuberhealthy/deployment", status="0"}[30d])) OR vector(0)) / sum(count_over_time(kuberhealthy_check{check="kuberhealthy/deployment", status="1"}[30d])) ``` *Utilization*