diff --git a/helm/vistio/values-with-ingress.yaml b/helm/vistio/values-with-ingress.yaml index 49b207a..38ec264 100644 --- a/helm/vistio/values-with-ingress.yaml +++ b/helm/vistio/values-with-ingress.yaml @@ -9,7 +9,7 @@ vistioConfig: maxVolume: 2000000 clusterConnections: # Total requests per second coming into the ingress controller from internet - - query: sun(rate(istio_request_count{destination_service="istio-ingressgateway.istio-system.svc.cluster.local"}[1m])) by (response_code) + - query: sum(rate(istio_request_count{destination_service="istio-ingressgateway.istio-system.svc.cluster.local"}[1m])) by (response_code) prometheusURL: http://prometheus.istio-system source: replacement: INTERNET diff --git a/vistio-with-ingress.yaml b/vistio-with-ingress.yaml index dbb3b2b..91604d5 100644 --- a/vistio-with-ingress.yaml +++ b/vistio-with-ingress.yaml @@ -35,7 +35,7 @@ data: globalLevel: clusterConnections: - prometheusURL: http://prometheus.istio-system - query: sun(rate(istio_request_count{destination_service="istio-ingressgateway.istio-system.svc.cluster.local"}[1m])) + query: sum(rate(istio_request_count{destination_service="istio-ingressgateway.istio-system.svc.cluster.local"}[1m])) by (response_code) source: replacement: INTERNET