Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions common/monitoring/grafana/dashboards/kong-dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "count(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"1..\"}[$__interval]))",
"expr": "sum(sum_over_time(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"1..\"}[$__interval]))",
"instant": false,
"legendFormat": "__auto",
"range": true,
Expand Down Expand Up @@ -374,7 +374,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "count(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"1..\"}[$__interval])) / count(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\"}[$__interval])) * 100",
"expr": "sum(sum_over_time(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"1..\"}[$__interval])) / sum(sum_over_time(kong_http_requests_total{service=~\"$service\", route=~\"$route\"}[$__interval])) * 100",
"hide": false,
"instant": false,
"legendFormat": "percentage",
Expand Down Expand Up @@ -447,7 +447,7 @@
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "count(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"2..\"}[$__interval]))",
"expr": "sum(sum_over_time(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"2..\"}[$__interval]))",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand Down Expand Up @@ -523,7 +523,7 @@
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "count(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"2..\"}[$__interval])) / count(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\"}[$__interval])) * 100",
"expr": "sum(sum_over_time(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"2..\"}[$__interval])) / sum(sum_over_time(kong_http_requests_total{service=~\"$service\", route=~\"$route\"}[$__interval])) * 100",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand Down Expand Up @@ -597,7 +597,7 @@
},
"disableTextWrap": false,
"editorMode": "code",
"expr": "count(rate(kong_http_requests_total{service=~\"$service\",route=~\"$route\", code=~\"3..\"}[$__interval]))",
"expr": "sum(sum_over_time(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"3..\"}[$__interval]))",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand Down Expand Up @@ -673,7 +673,7 @@
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "count(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"3..\"}[$__interval])) / count(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\"}[$__interval])) * 100",
"expr": "sum(sum_over_time(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"3..\"}[$__interval])) / sum(sum_over_time(kong_http_requests_total{service=~\"$service\", route=~\"$route\"}[$__interval])) * 100",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand Down Expand Up @@ -748,7 +748,7 @@
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "(count(rate(kong_http_requests_total{service=~\"$service\",route=~\"$route\", code=~\"4..\"}[$__interval])))",
"expr": "sum(sum_over_time(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"4..\"}[$__interval]))",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand Down Expand Up @@ -824,7 +824,7 @@
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "count(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"4..\"}[$__interval])) / count(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\"}[$__interval])) * 100",
"expr": "sum(sum_over_time(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"4..\"}[$__interval])) / sum(sum_over_time(kong_http_requests_total{service=~\"$service\", route=~\"$route\"}[$__interval])) * 100",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand Down Expand Up @@ -897,7 +897,7 @@
"uid": "PBFA97CFB590B2093"
},
"editorMode": "code",
"expr": "count(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"5..\"}[$__interval])) by (status_code)",
"expr": "sum(sum_over_time(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"5..\"}[$__interval]))",
"instant": false,
"legendFormat": "__auto",
"range": true,
Expand Down Expand Up @@ -970,7 +970,7 @@
"disableTextWrap": false,
"editorMode": "code",
"exemplar": false,
"expr": "count(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"5..\"}[1m])) / count(rate(kong_http_requests_total{service=~\"$service\", route=~\"$route\"}[$__interval])) * 100",
"expr": "sum(sum_over_time(kong_http_requests_total{service=~\"$service\", route=~\"$route\", code=~\"5..\"}[$__interval])) / sum(sum_over_time(kong_http_requests_total{service=~\"$service\", route=~\"$route\"}[$__interval])) * 100",
"fullMetaSearch": false,
"includeNullMetadata": true,
"instant": false,
Expand Down Expand Up @@ -1264,14 +1264,14 @@
]
},
"time": {
"from": "now-30m",
"from": "now-7d",
"to": "now"
},
"timeRangeUpdatedDuringEditOrView": false,
"timepicker": {},
"timezone": "",
"title": "Kong (New)",
"uid": "b4231b20-651b-4877-a626-88f20f0cca6b",
"version": 2,
"version": 7,
"weekStart": ""
}