Skip to content

Commit

Permalink
Fix App Mesh success rate graph
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprodan committed Mar 26, 2019
1 parent b9075dc commit f547687
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/grafana/dashboards/appmesh.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
"tableColumn": "",
"targets": [
{
"expr": "sum(irate(envoy_cluster_upstream_rq{kubernetes_namespace=~\"$namespace\",app=~\"$primary\",response_code!~\"5.*\"}[30s])) / sum(irate(envoy_cluster_upstream_rq{kubernetes_namespace=~\"$namespace\",app=~\"$primary\"}[30s]))",
"expr": "sum(irate(envoy_cluster_upstream_rq{kubernetes_namespace=~\"$namespace\",app=~\"$primary\",envoy_response_code!~\"5.*\"}[30s])) / sum(irate(envoy_cluster_upstream_rq{kubernetes_namespace=~\"$namespace\",app=~\"$primary\"}[30s]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
Expand Down Expand Up @@ -345,7 +345,7 @@
"tableColumn": "",
"targets": [
{
"expr": "sum(irate(envoy_cluster_upstream_rq{kubernetes_namespace=~\"$namespace\",app=~\"$canary\",response_code!~\"5.*\"}[30s])) / sum(irate(envoy_cluster_upstream_rq{kubernetes_namespace=~\"$namespace\",app=~\"$canary\"}[30s]))",
"expr": "sum(irate(envoy_cluster_upstream_rq{kubernetes_namespace=~\"$namespace\",app=~\"$canary\",envoy_response_code!~\"5.*\"}[30s])) / sum(irate(envoy_cluster_upstream_rq{kubernetes_namespace=~\"$namespace\",app=~\"$canary\"}[30s]))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "",
Expand Down
6 changes: 5 additions & 1 deletion charts/grafana/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
1. Get the application URL with:
1. Run the port forward command:

kubectl -n {{ .Release.Namespace }} port-forward svc/{{ .Release.Name }} 3000:80

2. Navigate to:

http://localhost:3000

0 comments on commit f547687

Please sign in to comment.