21 "datasource": "-- Grafana --",
24 "iconColor": "rgba(0, 211, 255, 1)",
25 "name": "Annotations & Alerts",
34 "iteration": 1557395861896,
47 "title": "OSD Performance",
55 "datasource": "$datasource",
76 "nullPointMode": "null",
84 "transform": "negative-Y"
92 "expr": "irate(ceph_osd_op_r_latency_sum{ceph_daemon=~\"$osd\"}[1m]) / on (ceph_daemon) irate(ceph_osd_op_r_latency_count[1m])",
93 "format": "time_series",
95 "legendFormat": "read",
99 "expr": "irate(ceph_osd_op_w_latency_sum{ceph_daemon=~\"$osd\"}[1m]) / on (ceph_daemon) irate(ceph_osd_op_w_latency_count[1m])",
100 "format": "time_series",
102 "legendFormat": "write",
109 "title": "$osd Latency",
113 "value_type": "individual"
126 "label": "Read (-) / Write (+)",
151 "datasource": "$datasource",
172 "nullPointMode": "null",
180 "transform": "negative-Y"
185 "steppedLine": false,
188 "expr": "irate(ceph_osd_op_r{ceph_daemon=~\"$osd\"}[1m])",
189 "format": "time_series",
191 "legendFormat": "Reads",
195 "expr": "irate(ceph_osd_op_w{ceph_daemon=~\"$osd\"}[1m])",
196 "format": "time_series",
198 "legendFormat": "Writes",
205 "title": "$osd R/W IOPS",
209 "value_type": "individual"
222 "label": "Read (-) / Write (+)",
247 "datasource": "$datasource",
268 "nullPointMode": "null",
275 "alias": "Read Bytes",
276 "transform": "negative-Y"
281 "steppedLine": false,
284 "expr": "irate(ceph_osd_op_r_out_bytes{ceph_daemon=~\"$osd\"}[1m])",
285 "format": "time_series",
287 "legendFormat": "Read Bytes",
291 "expr": "irate(ceph_osd_op_w_in_bytes{ceph_daemon=~\"$osd\"}[1m])",
292 "format": "time_series",
294 "legendFormat": "Write Bytes",
301 "title": "$osd R/W Bytes",
305 "value_type": "individual"
318 "label": "Read (-) / Write (+)",
348 "title": "Physical Device Performance",
356 "datasource": "$datasource",
377 "nullPointMode": "null as zero",
384 "alias": "/.*Reads/",
385 "transform": "negative-Y"
390 "steppedLine": false,
393 "expr": "(label_replace(irate(node_disk_read_time_seconds_total[1m]) / irate(node_disk_reads_completed_total[1m]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") and on (instance, device) label_replace(label_replace(ceph_disk_occupation{ceph_daemon=~\"$osd\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"))",
394 "format": "time_series",
396 "legendFormat": "{{instance}}/{{device}} Reads",
400 "expr": "(label_replace(irate(node_disk_write_time_seconds_total[1m]) / irate(node_disk_writes_completed_total[1m]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") and on (instance, device) label_replace(label_replace(ceph_disk_occupation{ceph_daemon=~\"$osd\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"))",
401 "format": "time_series",
403 "legendFormat": "{{instance}}/{{device}} Writes",
410 "title": "Physical Device Latency for $osd",
414 "value_type": "individual"
427 "label": "Read (-) / Write (+)",
452 "datasource": "$datasource",
473 "nullPointMode": "null",
480 "alias": "/.*Reads/",
481 "transform": "negative-Y"
486 "steppedLine": false,
489 "expr": "label_replace(irate(node_disk_writes_completed_total[1m]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") and on (instance, device) label_replace(label_replace(ceph_disk_occupation{ceph_daemon=~\"$osd\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\")",
490 "format": "time_series",
492 "legendFormat": "{{device}} on {{instance}} Writes",
496 "expr": "label_replace(irate(node_disk_reads_completed_total[1m]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") and on (instance, device) label_replace(label_replace(ceph_disk_occupation{ceph_daemon=~\"$osd\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\")",
497 "format": "time_series",
499 "legendFormat": "{{device}} on {{instance}} Reads",
506 "title": "Physical Device R/W IOPS for $osd",
510 "value_type": "individual"
523 "label": "Read (-) / Write (+)",
548 "datasource": "$datasource",
569 "nullPointMode": "null",
576 "alias": "/.*Reads/",
577 "transform": "negative-Y"
582 "steppedLine": false,
585 "expr": "label_replace(irate(node_disk_read_bytes_total[1m]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") and on (instance, device) label_replace(label_replace(ceph_disk_occupation{ceph_daemon=~\"$osd\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\")",
586 "format": "time_series",
588 "legendFormat": "{{instance}} {{device}} Reads",
592 "expr": "label_replace(irate(node_disk_written_bytes_total[1m]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") and on (instance, device) label_replace(label_replace(ceph_disk_occupation{ceph_daemon=~\"$osd\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\")",
593 "format": "time_series",
595 "legendFormat": "{{instance}} {{device}} Writes",
602 "title": "Physical Device R/W Bytes for $osd",
606 "value_type": "individual"
619 "label": "Read (-) / Write (+)",
644 "datasource": "$datasource",
665 "nullPointMode": "null",
670 "seriesOverrides": [],
673 "steppedLine": false,
676 "expr": "label_replace(irate(node_disk_io_time_seconds_total[1m]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") and on (instance, device) label_replace(label_replace(ceph_disk_occupation{ceph_daemon=~\"$osd\"}, \"device\", \"$1\", \"device\", \"/dev/(.*)\"), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\")",
677 "format": "time_series",
679 "legendFormat": "{{device}} on {{instance}}",
686 "title": "Physical Device Util% for $osd",
690 "value_type": "individual"
702 "format": "percentunit",
735 "label": "Data Source",
736 "name": "datasource",
738 "query": "prometheus",
741 "skipUrlSync": false,
747 "datasource": "$datasource",
754 "query": "label_values(ceph_osd_metadata,ceph_daemon)",
757 "skipUrlSync": false,
759 "tagValuesQuery": "",
772 "refresh_intervals": [
797 "title": "OSD device details",