Browse Source

hard code

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

2
helm-guestbook/templates/cluster_analysis.yaml

@ -12,4 +12,4 @@ spec:
prometheus: prometheus:
address: "http://52.149.216.245:9090" address: "http://52.149.216.245:9090"
query: | query: |
rate(nginx_ingress_controller_requests{ingress="{{`{{ template "helm-guestbook.fullname" . }}`}}", controller_class="nginx",exported_namespace="{{`{{ template "helm-guestbook.fullname" . }}`}}",status!~"[4-5].*"}[1h]) / rate(nginx_ingress_controller_requests{ingress="{{`{{ template "helm-guestbook.fullname" . }}`}}", controller_class="nginx",exported_namespace="{{`{{ template "helm-guestbook.fullname" . }}`}}"}[1h]) rate(nginx_ingress_controller_requests{ingress="aks-guestbook-helm-guestbook", controller_class="nginx",exported_namespace="aks-guestbook-helm-guestbook",status!~"[4-5].*"}[1h]) / rate(nginx_ingress_controller_requests{ingress="aks-guestbook-helm-guestbook", controller_class="nginx",exported_namespace="aks-guestbook-helm-guestbook"}[1h])
Loading…
Cancel
Save