Merge pull request #33 from desaintmartin/patch-1

Fix disk values being seconds, not milliseconds.
This commit is contained in:
Ricardo F 2019-06-14 10:05:32 +02:00 committed by GitHub
commit b457af06e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2489,7 +2489,7 @@
"format": "time_series", "format": "time_series",
"hide": false, "hide": false,
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{device}} - Milliseconds spent doing I/Os", "legendFormat": "{{device}} - Time spent doing I/Os",
"refId": "C", "refId": "C",
"step": 240 "step": 240
} }
@ -2513,15 +2513,15 @@
}, },
"yaxes": [ "yaxes": [
{ {
"format": "ms", "format": "s",
"label": "Milliseconds", "label": "Time",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": "0", "min": "0",
"show": true "show": true
}, },
{ {
"format": "ms", "format": "s",
"label": "", "label": "",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
@ -10651,7 +10651,7 @@
"expr": "irate(node_disk_read_time_seconds_total{instance=~\"$node:$port\",job=~\"$job\"}[5m])", "expr": "irate(node_disk_read_time_seconds_total{instance=~\"$node:$port\",job=~\"$job\"}[5m])",
"hide": false, "hide": false,
"intervalFactor": 4, "intervalFactor": 4,
"legendFormat": "{{device}} - Read time ms", "legendFormat": "{{device}} - Read time",
"refId": "A", "refId": "A",
"step": 8 "step": 8
}, },
@ -10659,7 +10659,7 @@
"expr": "irate(node_disk_write_time_seconds_total{instance=~\"$node:$port\",job=~\"$job\"}[5m])", "expr": "irate(node_disk_write_time_seconds_total{instance=~\"$node:$port\",job=~\"$job\"}[5m])",
"hide": false, "hide": false,
"intervalFactor": 2, "intervalFactor": 2,
"legendFormat": "{{device}} - Write time ms", "legendFormat": "{{device}} - Write time",
"refId": "B", "refId": "B",
"step": 4 "step": 4
} }
@ -10683,8 +10683,8 @@
}, },
"yaxes": [ "yaxes": [
{ {
"format": "ms", "format": "s",
"label": "Millisec. read (-) / write (+)", "label": "Time. read (-) / write (+)",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": null, "min": null,
@ -10846,8 +10846,8 @@
}, },
"yaxes": [ "yaxes": [
{ {
"format": "ms", "format": "s",
"label": "Milliseconds", "label": "Time",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": "0", "min": "0",
@ -11159,7 +11159,7 @@
{ {
"expr": "irate(node_disk_io_time_seconds_total{instance=~\"$node:$port\",job=~\"$job\"}[5m])", "expr": "irate(node_disk_io_time_seconds_total{instance=~\"$node:$port\",job=~\"$job\"}[5m])",
"intervalFactor": 4, "intervalFactor": 4,
"legendFormat": "{{device}} - IO time ms", "legendFormat": "{{device}} - IO time",
"refId": "A", "refId": "A",
"step": 8 "step": 8
} }
@ -11167,7 +11167,7 @@
"thresholds": [], "thresholds": [],
"timeFrom": null, "timeFrom": null,
"timeShift": null, "timeShift": null,
"title": "Milliseconds Spent Doing I/Os", "title": "Time Spent Doing I/Os",
"tooltip": { "tooltip": {
"shared": false, "shared": false,
"sort": 0, "sort": 0,
@ -11183,8 +11183,8 @@
}, },
"yaxes": [ "yaxes": [
{ {
"format": "ms", "format": "s",
"label": "Milliseconds", "label": "Time",
"logBase": 1, "logBase": 1,
"max": null, "max": null,
"min": "0", "min": "0",
@ -20010,4 +20010,4 @@
"timezone": "browser", "timezone": "browser",
"title": "Node Exporter Full", "title": "Node Exporter Full",
"version": 62 "version": 62
} }