Commit 46c3dee4 authored by ale's avatar ale

Add error ratio

parent a333468b
Pipeline #3390 passed with stage
in 4 minutes and 45 seconds
......@@ -14,9 +14,9 @@
},
"editable": true,
"gnetId": null,
"graphTooltip": 0,
"id": null,
"iteration": 1560210581737,
"graphTooltip": 1,
"id": 2,
"iteration": 1560275101593,
"links": [],
"panels": [
{
......@@ -281,13 +281,99 @@
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"fill": 0,
"fill": 1,
"gridPos": {
"h": 6,
"w": 12,
"x": 12,
"y": 6
},
"id": 9,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": true,
"total": false,
"values": false
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"percentage": false,
"pointradius": 5,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "topk(10, global:nginx_http_requests_errs:rate5m{vhost=~\"^$vhost$\"} / global:nginx_http_requests_total:rate5m{vhost=~\"^$vhost$\"})",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{vhost}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Error percentage",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"format": "percentunit",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "localhost",
"fill": 0,
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 12
},
"id": 8,
"legend": {
"avg": false,
......@@ -384,7 +470,11 @@
"list": [
{
"allValue": ".*",
"current": {},
"current": {
"tags": [],
"text": "autistici.org:443",
"value": "autistici.org:443"
},
"datasource": "localhost",
"definition": "",
"hide": 0,
......@@ -407,7 +497,7 @@
]
},
"time": {
"from": "now-6h",
"from": "now-3h",
"to": "now"
},
"timepicker": {
......@@ -438,5 +528,5 @@
"timezone": "",
"title": "HTTP",
"uid": "xCSUMFnmz",
"version": 1
}
"version": 4
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment