From f9003e4edcd691568e392acbd26140a6986e5b8c Mon Sep 17 00:00:00 2001 From: Bogdan Alov Date: Mon, 15 Apr 2019 15:48:51 +0300 Subject: [PATCH] updated vistio to match new istio deployment --- vistio/values-mesh-only.yaml | 6 +++--- vistio/values-with-ingress.yaml | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/vistio/values-mesh-only.yaml b/vistio/values-mesh-only.yaml index c5d2f1b..1febc65 100644 --- a/vistio/values-mesh-only.yaml +++ b/vistio/values-mesh-only.yaml @@ -11,7 +11,7 @@ vistioConfig: maxVolume: 100 clusterConnections: # Total requests per second of the mesh - - query: sum(rate(istio_request_count[1m])) by (response_code) + - query: sum(rate(istio_requests_total[1m])) by (response_code) prometheusURL: http://prometheus.istio-system:9090 source: replacement: "Total Mesh Requests" @@ -27,10 +27,10 @@ vistioConfig: - cluster: istio-mesh maxVolume: 100 serviceConnections: - - query: sum(rate(istio_request_count[1m])) by (source_service,destination_service,response_code) + - query: sum(rate(istio_requests_total[1m])) by (source_app,destination_service,response_code) prometheusURL: http://prometheus.istio-system:9090 source: - label: source_service + label: source_app target: label: destination_service status: diff --git a/vistio/values-with-ingress.yaml b/vistio/values-with-ingress.yaml index cad1d74..37bed89 100644 --- a/vistio/values-with-ingress.yaml +++ b/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: sum(rate(istio_request_count{destination_service="istio-ingressgateway.istio-system.svc.cluster.local"}[1m])) by (response_code) + - query: sum(rate(istio_requests_total{reporter="source", source_workload="istio-ingressgateway"}[1m])) by (response_code) prometheusURL: http://prometheus.istio-system:9090 source: replacement: INTERNET @@ -25,10 +25,10 @@ vistioConfig: - cluster: istio-mesh maxVolume: 3000 serviceConnections: - - query: sum(rate(istio_request_count[1m])) by (source_service,destination_service,response_code) + - query: sum(rate(istio_requests_total[1m])) by (source_app,destination_service,response_code) prometheusURL: http://prometheus.istio-system:9090 source: - label: source_service + label: source_app target: label: destination_service status: -- GitLab