Skip to content

Commit

Permalink
fixed query sum (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick authored Jun 11, 2018
1 parent e9bd44b commit 0e45600
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion helm/vistio/values-with-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion vistio-with-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e45600

Please sign in to comment.