|
@@ -0,0 +1,475 @@
|
|
|
+{
|
|
|
+ "id": 1,
|
|
|
+ "title": "Kong",
|
|
|
+ "originalTitle": "Kong",
|
|
|
+ "tags": [],
|
|
|
+ "style": "dark",
|
|
|
+ "timezone": "browser",
|
|
|
+ "editable": true,
|
|
|
+ "hideControls": false,
|
|
|
+ "sharedCrosshair": false,
|
|
|
+ "rows": [
|
|
|
+ {
|
|
|
+ "collapse": false,
|
|
|
+ "editable": true,
|
|
|
+ "height": "250px",
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "prometheus",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 4,
|
|
|
+ "grid": {
|
|
|
+ "leftLogBase": 1,
|
|
|
+ "leftMax": null,
|
|
|
+ "leftMin": null,
|
|
|
+ "rightLogBase": 1,
|
|
|
+ "rightMax": null,
|
|
|
+ "rightMin": null,
|
|
|
+ "threshold1": null,
|
|
|
+ "threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
|
+ "threshold2": null,
|
|
|
+ "threshold2Color": "rgba(234, 112, 112, 0.22)"
|
|
|
+ },
|
|
|
+ "id": 1,
|
|
|
+ "isNew": true,
|
|
|
+ "leftYAxisLabel": "req/sec",
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "null as zero",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 6,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "irate(status{http=\"total\"}[1m])",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{environment}}-{{api}}",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 2
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Total Request",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "x-axis": true,
|
|
|
+ "y-axis": true,
|
|
|
+ "y_formats": [
|
|
|
+ "short",
|
|
|
+ "short"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "prometheus",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "grid": {
|
|
|
+ "leftLogBase": 1,
|
|
|
+ "leftMax": null,
|
|
|
+ "leftMin": null,
|
|
|
+ "rightLogBase": 1,
|
|
|
+ "rightMax": null,
|
|
|
+ "rightMin": null,
|
|
|
+ "threshold1": null,
|
|
|
+ "threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
|
+ "threshold2": null,
|
|
|
+ "threshold2Color": "rgba(234, 112, 112, 0.22)"
|
|
|
+ },
|
|
|
+ "id": 2,
|
|
|
+ "isNew": true,
|
|
|
+ "leftYAxisLabel": "req/sec",
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 6,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "irate(status{http=~\"[0-9]{3}\"}[1m])",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{environment}}-{{api}}-{{http}}",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 2
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Requests By HTTP Code",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "x-axis": true,
|
|
|
+ "y-axis": true,
|
|
|
+ "y_formats": [
|
|
|
+ "short",
|
|
|
+ "short"
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "Row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapse": false,
|
|
|
+ "editable": true,
|
|
|
+ "height": "250px",
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "prometheus",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "grid": {
|
|
|
+ "leftLogBase": 1,
|
|
|
+ "leftMax": null,
|
|
|
+ "leftMin": null,
|
|
|
+ "rightLogBase": 1,
|
|
|
+ "rightMax": null,
|
|
|
+ "rightMin": null,
|
|
|
+ "threshold1": null,
|
|
|
+ "threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
|
+ "threshold2": null,
|
|
|
+ "threshold2Color": "rgba(234, 112, 112, 0.22)"
|
|
|
+ },
|
|
|
+ "id": 3,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 6,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "kong_latency{quantile=\"0.9\"}",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{environment}}-{{api}}",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 2
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Kong Latency p90",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "x-axis": true,
|
|
|
+ "y-axis": true,
|
|
|
+ "y_formats": [
|
|
|
+ "ms",
|
|
|
+ "short"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "prometheus",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "grid": {
|
|
|
+ "leftLogBase": 1,
|
|
|
+ "leftMax": null,
|
|
|
+ "leftMin": null,
|
|
|
+ "rightLogBase": 1,
|
|
|
+ "rightMax": null,
|
|
|
+ "rightMin": null,
|
|
|
+ "threshold1": null,
|
|
|
+ "threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
|
+ "threshold2": null,
|
|
|
+ "threshold2Color": "rgba(234, 112, 112, 0.22)"
|
|
|
+ },
|
|
|
+ "id": 4,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 6,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "upstream_latency{quantile=\"0.9\"}",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{environment}}-{{api}}",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 2
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Upstream Latency p90",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "x-axis": true,
|
|
|
+ "y-axis": true,
|
|
|
+ "y_formats": [
|
|
|
+ "ms",
|
|
|
+ "short"
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "New row"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "collapse": false,
|
|
|
+ "editable": true,
|
|
|
+ "height": "250px",
|
|
|
+ "panels": [
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "prometheus",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "grid": {
|
|
|
+ "leftLogBase": 1,
|
|
|
+ "leftMax": null,
|
|
|
+ "leftMin": null,
|
|
|
+ "rightLogBase": 1,
|
|
|
+ "rightMax": null,
|
|
|
+ "rightMin": null,
|
|
|
+ "threshold1": null,
|
|
|
+ "threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
|
+ "threshold2": null,
|
|
|
+ "threshold2Color": "rgba(234, 112, 112, 0.22)"
|
|
|
+ },
|
|
|
+ "id": 5,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 6,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "size{quantile=\"0.9\", phase=\"request\"}",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{environment}}-{{api}}",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 2
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Request Sizes p90",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "x-axis": true,
|
|
|
+ "y-axis": true,
|
|
|
+ "y_formats": [
|
|
|
+ "bytes",
|
|
|
+ "short"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "aliasColors": {},
|
|
|
+ "bars": false,
|
|
|
+ "datasource": "prometheus",
|
|
|
+ "editable": true,
|
|
|
+ "error": false,
|
|
|
+ "fill": 1,
|
|
|
+ "grid": {
|
|
|
+ "leftLogBase": 1,
|
|
|
+ "leftMax": null,
|
|
|
+ "leftMin": null,
|
|
|
+ "rightLogBase": 1,
|
|
|
+ "rightMax": null,
|
|
|
+ "rightMin": null,
|
|
|
+ "threshold1": null,
|
|
|
+ "threshold1Color": "rgba(216, 200, 27, 0.27)",
|
|
|
+ "threshold2": null,
|
|
|
+ "threshold2Color": "rgba(234, 112, 112, 0.22)"
|
|
|
+ },
|
|
|
+ "id": 6,
|
|
|
+ "isNew": true,
|
|
|
+ "legend": {
|
|
|
+ "avg": false,
|
|
|
+ "current": false,
|
|
|
+ "max": false,
|
|
|
+ "min": false,
|
|
|
+ "show": true,
|
|
|
+ "total": false,
|
|
|
+ "values": false
|
|
|
+ },
|
|
|
+ "lines": true,
|
|
|
+ "linewidth": 2,
|
|
|
+ "links": [],
|
|
|
+ "nullPointMode": "connected",
|
|
|
+ "percentage": false,
|
|
|
+ "pointradius": 5,
|
|
|
+ "points": false,
|
|
|
+ "renderer": "flot",
|
|
|
+ "seriesOverrides": [],
|
|
|
+ "span": 6,
|
|
|
+ "stack": false,
|
|
|
+ "steppedLine": false,
|
|
|
+ "targets": [
|
|
|
+ {
|
|
|
+ "expr": "size{quantile=\"0.9\", phase=\"response\"}",
|
|
|
+ "intervalFactor": 2,
|
|
|
+ "legendFormat": "{{environment}}-{{api}}",
|
|
|
+ "refId": "A",
|
|
|
+ "step": 2
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "timeFrom": null,
|
|
|
+ "timeShift": null,
|
|
|
+ "title": "Response Sizes p90",
|
|
|
+ "tooltip": {
|
|
|
+ "shared": true,
|
|
|
+ "value_type": "cumulative"
|
|
|
+ },
|
|
|
+ "type": "graph",
|
|
|
+ "x-axis": true,
|
|
|
+ "y-axis": true,
|
|
|
+ "y_formats": [
|
|
|
+ "bytes",
|
|
|
+ "short"
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "title": "New row"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "time": {
|
|
|
+ "from": "now-30m",
|
|
|
+ "to": "now"
|
|
|
+ },
|
|
|
+ "timepicker": {
|
|
|
+ "now": true,
|
|
|
+ "refresh_intervals": [
|
|
|
+ "5s",
|
|
|
+ "10s",
|
|
|
+ "30s",
|
|
|
+ "1m",
|
|
|
+ "5m",
|
|
|
+ "15m",
|
|
|
+ "30m",
|
|
|
+ "1h",
|
|
|
+ "2h",
|
|
|
+ "1d"
|
|
|
+ ],
|
|
|
+ "time_options": [
|
|
|
+ "5m",
|
|
|
+ "15m",
|
|
|
+ "1h",
|
|
|
+ "6h",
|
|
|
+ "12h",
|
|
|
+ "24h",
|
|
|
+ "2d",
|
|
|
+ "7d",
|
|
|
+ "30d"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ "templating": {
|
|
|
+ "list": []
|
|
|
+ },
|
|
|
+ "annotations": {
|
|
|
+ "list": []
|
|
|
+ },
|
|
|
+ "refresh": false,
|
|
|
+ "schemaVersion": 8,
|
|
|
+ "version": 1,
|
|
|
+ "links": []
|
|
|
+}
|