From 82af25a925e44c827949918e5f8f0941a5fb47c4 Mon Sep 17 00:00:00 2001 From: brandon Date: Tue, 13 Apr 2021 13:03:10 -0400 Subject: [PATCH] rate --- 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 5fe3909..406efa2 100644 --- a/helm-guestbook/templates/cluster_analysis.yaml +++ b/helm-guestbook/templates/cluster_analysis.yaml @@ -13,4 +13,4 @@ spec: prometheus: address: "http://52.149.216.245:9090" query: | - nginx_ingress_controller_requests{ingress="aks-guestbook-helm-guestbook", controller_class="nginx",exported_namespace="aks-guestbook-helm-guestbook",status=~"[2].*"}[1h] \ No newline at end of file + rate(nginx_ingress_controller_requests{ingress="aks-guestbook-helm-guestbook", controller_class="nginx",exported_namespace="aks-guestbook-helm-guestbook",status=~"[2].*"}[1h]) \ No newline at end of file