Browse Source

service

pull/82/head
brandon 4 years ago
parent
commit
873acf24f4
  1. 4
      helm-guestbook/templates/cluster_analysis.yaml

4
helm-guestbook/templates/cluster_analysis.yaml

@ -11,8 +11,8 @@ spec:
address: "http://a0179abbebc504fe1a02cc2868d10d20-1436141555.us-east-2.elb.amazonaws.com:9090" address: "http://a0179abbebc504fe1a02cc2868d10d20-1436141555.us-east-2.elb.amazonaws.com:9090"
query: | query: |
sum(irate( sum(irate(
istio_requests_total{reporter="source",destination_service=~"{{ template "helm-guestbook.fullname" . }}.default.svc.cluster.local",response_code!~"5.*"}[5m] istio_requests_total{reporter="source",destination_service=~"{{ template "helm-guestbook.fullname" . }}",response_code!~"5.*"}[5m]
)) / )) /
sum(irate( sum(irate(
istio_requests_total{reporter="source",destination_service=~"{{ template "helm-guestbook.fullname" . }}.default.svc.cluster.local"}[5m] istio_requests_total{reporter="source",destination_service=~"{{ template "helm-guestbook.fullname" . }}"}[5m]
)) ))
Loading…
Cancel
Save