4 "name": "DS_MACBOOK-INFLUX",
5 "label": "macbook-influx",
8 "pluginId": "influxdb",
9 "pluginName": "InfluxDB"
33 "id": "jdbranham-diagram-panel",
47 "$$hashKey": "object:1627",
49 "datasource": "-- Grafana --",
52 "iconColor": "rgba(0, 211, 255, 1)",
53 "name": "Annotations & Alerts",
58 "description": "Top-level ZFS pool latency by ZIO type",
63 "iteration": 1590445168391,
68 "datasource": "${DS_MACBOOK-INFLUX}",
77 "title": "Total Reads and Writes",
86 "cardColor": "#b4ff00",
88 "colorScheme": "interpolateOranges",
92 "dataFormat": "tsbuckets",
93 "datasource": "${DS_MACBOOK-INFLUX}",
94 "description": "Latency histogram for the total reads of a ZFS pool",
108 "hideZeroBuckets": false,
109 "highlightCards": true,
114 "reverseYBuckets": false,
138 "measurement": "zpool_latency",
139 "orderByTime": "ASC",
142 "resultFormat": "time_series",
159 "type": "non_negative_derivative"
167 "value": "/^$hostname$/"
173 "value": "/^$poolname$/"
180 "title": "Total Reads",
183 "showHistogram": true
189 "xBucketNumber": null,
200 "yBucketBound": "auto",
201 "yBucketNumber": null,
210 "cardColor": "#b4ff00",
211 "colorScale": "sqrt",
212 "colorScheme": "interpolateOranges",
216 "dataFormat": "tsbuckets",
217 "datasource": "${DS_MACBOOK-INFLUX}",
218 "description": "Latency histogram for the total writes of a ZFS pool",
232 "hideZeroBuckets": false,
233 "highlightCards": true,
238 "reverseYBuckets": false,
262 "measurement": "zpool_latency",
263 "orderByTime": "ASC",
266 "resultFormat": "time_series",
283 "type": "non_negative_derivative"
291 "value": "/^$hostname$/"
297 "value": "/^$poolname$/"
304 "title": "Total Writes",
307 "showHistogram": true
313 "xBucketNumber": null,
324 "yBucketBound": "auto",
325 "yBucketNumber": null,
330 "datasource": "${DS_MACBOOK-INFLUX}",
339 "title": "ZIO Scheduler Queues for Read Operations",
348 "cardColor": "#b4ff00",
349 "colorScale": "sqrt",
350 "colorScheme": "interpolateOranges",
354 "dataFormat": "tsbuckets",
355 "datasource": "${DS_MACBOOK-INFLUX}",
356 "description": "Latency histogram for the synchronous reads of a ZFS pool",
370 "hideZeroBuckets": false,
371 "highlightCards": true,
376 "reverseYBuckets": false,
400 "measurement": "zpool_latency",
401 "orderByTime": "ASC",
404 "resultFormat": "time_series",
421 "type": "non_negative_derivative"
429 "value": "/^$hostname$/"
435 "value": "/^$poolname$/"
442 "title": "Sync Read Queue",
445 "showHistogram": true
451 "xBucketNumber": null,
462 "yBucketBound": "auto",
463 "yBucketNumber": null,
472 "cardColor": "#b4ff00",
473 "colorScale": "sqrt",
474 "colorScheme": "interpolateOranges",
478 "dataFormat": "tsbuckets",
479 "datasource": "${DS_MACBOOK-INFLUX}",
480 "description": "Latency histogram for the asynchronous reads of a ZFS pool",
494 "hideZeroBuckets": false,
495 "highlightCards": true,
500 "reverseYBuckets": false,
524 "measurement": "zpool_latency",
525 "orderByTime": "ASC",
528 "resultFormat": "time_series",
545 "type": "non_negative_derivative"
553 "value": "/^$hostname$/"
559 "value": "/^$poolname$/"
566 "title": "Async Read Queue",
569 "showHistogram": true
575 "xBucketNumber": null,
586 "yBucketBound": "auto",
587 "yBucketNumber": null,
596 "cardColor": "#b4ff00",
597 "colorScale": "sqrt",
598 "colorScheme": "interpolateOranges",
602 "dataFormat": "tsbuckets",
603 "datasource": "${DS_MACBOOK-INFLUX}",
604 "description": "Latency histogram for the scrub or scan reads of a ZFS pool",
618 "hideZeroBuckets": false,
619 "highlightCards": true,
624 "reverseYBuckets": false,
648 "measurement": "zpool_latency",
649 "orderByTime": "ASC",
652 "resultFormat": "time_series",
669 "type": "non_negative_derivative"
677 "value": "/^$hostname$/"
683 "value": "/^$poolname$/"
690 "title": "Scrub/Scan Read Queue",
693 "showHistogram": true
699 "xBucketNumber": null,
710 "yBucketBound": "auto",
711 "yBucketNumber": null,
720 "cardColor": "#b4ff00",
721 "colorScale": "sqrt",
722 "colorScheme": "interpolateOranges",
726 "dataFormat": "tsbuckets",
727 "datasource": "${DS_MACBOOK-INFLUX}",
728 "description": "Latency histogram for the actual disk reads of a ZFS pool",
742 "hideZeroBuckets": false,
743 "highlightCards": true,
748 "reverseYBuckets": false,
772 "measurement": "zpool_latency",
773 "orderByTime": "ASC",
776 "resultFormat": "time_series",
793 "type": "non_negative_derivative"
801 "value": "/^$hostname$/"
807 "value": "/^$poolname$/"
814 "title": "Disk Read Queue",
817 "showHistogram": true
823 "xBucketNumber": null,
834 "yBucketBound": "auto",
835 "yBucketNumber": null,
840 "datasource": "${DS_MACBOOK-INFLUX}",
849 "title": "ZIO Scheduler Queues for Write Operations",
858 "cardColor": "#b4ff00",
859 "colorScale": "sqrt",
860 "colorScheme": "interpolateOranges",
864 "dataFormat": "tsbuckets",
865 "datasource": "${DS_MACBOOK-INFLUX}",
866 "description": "Latency histogram for the synchronous writes of a ZFS pool",
880 "hideZeroBuckets": false,
881 "highlightCards": true,
886 "reverseYBuckets": false,
910 "measurement": "zpool_latency",
911 "orderByTime": "ASC",
914 "resultFormat": "time_series",
931 "type": "non_negative_derivative"
939 "value": "/^$hostname$/"
945 "value": "/^$poolname$/"
952 "title": "Sync Write Queue",
955 "showHistogram": true
961 "xBucketNumber": null,
972 "yBucketBound": "auto",
973 "yBucketNumber": null,
982 "cardColor": "#b4ff00",
983 "colorScale": "sqrt",
984 "colorScheme": "interpolateOranges",
988 "dataFormat": "tsbuckets",
989 "datasource": "${DS_MACBOOK-INFLUX}",
990 "description": "Latency histogram for the asynchronous writes of a ZFS pool",
1004 "hideZeroBuckets": false,
1005 "highlightCards": true,
1010 "reverseYBuckets": false,
1034 "measurement": "zpool_latency",
1035 "orderByTime": "ASC",
1036 "policy": "default",
1038 "resultFormat": "time_series",
1055 "type": "non_negative_derivative"
1063 "value": "/^$hostname$/"
1069 "value": "/^$poolname$/"
1076 "title": "Async Write Queue",
1079 "showHistogram": true
1085 "xBucketNumber": null,
1086 "xBucketSize": null,
1096 "yBucketBound": "auto",
1097 "yBucketNumber": null,
1102 "cardPadding": null,
1106 "cardColor": "#b4ff00",
1107 "colorScale": "sqrt",
1108 "colorScheme": "interpolateOranges",
1112 "dataFormat": "tsbuckets",
1113 "datasource": "${DS_MACBOOK-INFLUX}",
1114 "description": "Latency histogram for the trim or unmap operations of a ZFS pool",
1128 "hideZeroBuckets": false,
1129 "highlightCards": true,
1134 "reverseYBuckets": false,
1158 "measurement": "zpool_latency",
1159 "orderByTime": "ASC",
1160 "policy": "default",
1162 "resultFormat": "time_series",
1179 "type": "non_negative_derivative"
1187 "value": "/^$hostname$/"
1193 "value": "/^$poolname$/"
1200 "title": "Trim Write Queue",
1203 "showHistogram": true
1209 "xBucketNumber": null,
1210 "xBucketSize": null,
1220 "yBucketBound": "auto",
1221 "yBucketNumber": null,
1226 "cardPadding": null,
1230 "cardColor": "#b4ff00",
1231 "colorScale": "sqrt",
1232 "colorScheme": "interpolateOranges",
1236 "dataFormat": "tsbuckets",
1237 "datasource": "${DS_MACBOOK-INFLUX}",
1238 "description": "Latency histogram for the disk write operations of a ZFS pool",
1252 "hideZeroBuckets": false,
1253 "highlightCards": true,
1258 "reverseYBuckets": false,
1282 "measurement": "zpool_latency",
1283 "orderByTime": "ASC",
1284 "policy": "default",
1286 "resultFormat": "time_series",
1303 "type": "non_negative_derivative"
1311 "value": "/^$hostname$/"
1317 "value": "/^$poolname$/"
1324 "title": "Disk Write Queue",
1327 "showHistogram": true
1333 "xBucketNumber": null,
1334 "xBucketSize": null,
1344 "yBucketBound": "auto",
1345 "yBucketNumber": null,
1350 "datasource": "${DS_MACBOOK-INFLUX}",
1363 "content": "I/O requests that are satisfied by accessing pool devices are managed by the ZIO scheduler.\nThe total latency is measured from the start of the I/O to completion by the disk.\nLatency through each queue is shown prior to its submission to the disk queue.\n\nThis view is useful for observing the effects of tuning the ZIO scheduler min and max values\n(see zfs(4) and [ZFS on Linux Module Parameters](https://openzfs.github.io/openzfs-docs/Performance%20and%20tuning/ZFS%20on%20Linux%20Module%20Parameters.html)):\n+ *zfs_vdev_max_active* controls the ZIO scheduler's disk queue depth (do not confuse with the block device's nr_requests)\n+ *zfs_vdev_sync_read_min_active* and *zfs_vdev_sync_read_max_active* control the synchronous queue for reads: most reads are sync\n+ *zfs_vdev_sync_write_min_active* and *zfs_vdev_sync_write_max_active* control the synchronous queue for writes: \nusually metadata or user data depending on the \"sync\" property setting or I/Os that are requested to be flushed\n+ *zfs_vdev_async_read_min_active* and *zfs_vdev_async_read_max_active* control the asynchronous queue for reads: usually prefetches\n+ *zfs_vdev_async_write_min_active* and *zfs_vdev_async_write_max_active* control the asynchronous queue for writes: \nusually the bulk of all writes at transaction group (txg) commit\n+ *zfs_vdev_scrub_min_active* and *zfs_vdev_scrub_max_active* controls the scan reads: usually scrub or resilver\n\n",
1364 "datasource": "${DS_MACBOOK-INFLUX}",
1395 "orderByTime": "ASC",
1396 "policy": "default",
1398 "resultFormat": "time_series",
1418 "title": "About ZFS Pool All Queues Read/Write Latency Histograms",
1423 "rgba(50, 172, 45, 0.97)",
1424 "rgba(237, 129, 40, 0.89)",
1425 "rgba(245, 54, 54, 0.9)"
1428 "content": "graph LR\nIO((I/O request)) --> SR(sync read queue)\nIO --> SW(sync write queue)\nIO --> AR(async read queue)\nIO --> AW(async write queue)\nIO --> SCRUB(scrub queue)\nIO --> TRIM(trim queue)\nSR --> DISKQ(disk queue)\nSW --> DISKQ\nAR --> DISKQ\nAW --> DISKQ\nSCRUB --> DISKQ\nTRIM --> DISKQ\nDISKQ --> DISK((disk))\n",
1429 "datasource": "${DS_MACBOOK-INFLUX}",
1438 "graphId": "diagram_23",
1447 "arrowMarkerAbsolute": true,
1448 "cloneCssStyles": true,
1456 "fontFamily": "\"Open-Sans\", \"sans-serif\"",
1458 "gridLineStartPadding": 35,
1460 "numberSectionStyles": 3,
1461 "titleTopMargin": 25,
1465 "securityLevel": "loose",
1468 "bottomMarginAdj": 1,
1471 "diagramMarginX": 50,
1472 "diagramMarginY": 10,
1474 "messageMargin": 35,
1475 "mirrorActors": true,
1477 "useMaxWidth": true,
1480 "startOnLoad": false,
1498 "$$hashKey": "object:155",
1499 "name": "value to text",
1503 "$$hashKey": "object:156",
1504 "name": "range to text",
1508 "maxDataPoints": 100,
1510 "mermaidServiceUrl": "",
1511 "metricCharacterReplacements": [],
1512 "moddedSeriesVal": 0,
1514 "nullPointMode": "connected",
1515 "seriesOverrides": [],
1535 "orderByTime": "ASC",
1536 "policy": "default",
1538 "resultFormat": "time_series",
1562 "thresholds": "0,10",
1565 "title": "Panel Title",
1566 "type": "jdbranham-diagram-panel",
1569 "$$hashKey": "object:151",
1586 "schemaVersion": 22,
1598 "datasource": "${DS_MACBOOK-INFLUX}",
1599 "definition": "show tag values from \"zpool_latency\" with key = \"host\"",
1601 "includeAll": false,
1607 "query": "show tag values from \"zpool_latency\" with key = \"host\"",
1609 "regex": "/([-a-zA-Z-0-9]+)/",
1610 "skipUrlSync": false,
1612 "tagValuesQuery": "",
1621 "datasource": "${DS_MACBOOK-INFLUX}",
1622 "definition": "show tag values from \"zpool_latency\" with key = \"name\" where \"host\" =~ /^$hostname/",
1624 "includeAll": false,
1630 "query": "show tag values from \"zpool_latency\" with key = \"name\" where \"host\" =~ /^$hostname/",
1633 "skipUrlSync": false,
1635 "tagValuesQuery": "",
1644 "from": "2020-05-25T21:34:30.137Z",
1645 "to": "2020-05-25T21:39:54.445Z"
1648 "refresh_intervals": [
1661 "title": "ZFS Pool Latency Heatmaps Influxdb",