Last active
January 9, 2023 11:22
-
-
Save TimJones/9a905890c61119e096e965b54cfb3620 to your computer and use it in GitHub Desktop.
Grafana dashboards for Rook/Ceph
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} | |
], | |
"__elements": {}, | |
"__requires": [ | |
{ | |
"type": "panel", | |
"id": "gauge", | |
"name": "Gauge", | |
"version": "" | |
}, | |
{ | |
"type": "grafana", | |
"id": "grafana", | |
"name": "Grafana", | |
"version": "9.0.5" | |
}, | |
{ | |
"type": "panel", | |
"id": "graph", | |
"name": "Graph (old)", | |
"version": "" | |
}, | |
{ | |
"type": "panel", | |
"id": "heatmap", | |
"name": "Heatmap", | |
"version": "" | |
}, | |
{ | |
"type": "datasource", | |
"id": "prometheus", | |
"name": "Prometheus", | |
"version": "1.0.0" | |
}, | |
{ | |
"type": "panel", | |
"id": "stat", | |
"name": "Stat", | |
"version": "" | |
}, | |
{ | |
"type": "panel", | |
"id": "table", | |
"name": "Table", | |
"version": "" | |
}, | |
{ | |
"type": "panel", | |
"id": "table-old", | |
"name": "Table (old)", | |
"version": "" | |
} | |
], | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "datasource", | |
"uid": "grafana" | |
}, | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"target": { | |
"limit": 100, | |
"matchAny": false, | |
"tags": [], | |
"type": "dashboard" | |
}, | |
"type": "dashboard" | |
} | |
] | |
}, | |
"description": "Ceph Cluster overview.\r\n", | |
"editable": true, | |
"fiscalYearStartMonth": 0, | |
"gnetId": 2842, | |
"graphTooltip": 0, | |
"id": null, | |
"links": [], | |
"liveNow": false, | |
"panels": [ | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 37, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "CLUSTER STATE", | |
"type": "row" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"0": { | |
"text": "HEALTHY" | |
}, | |
"1": { | |
"text": "WARNING" | |
}, | |
"2": { | |
"text": "ERROR" | |
} | |
}, | |
"type": "value" | |
}, | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "#9ac48a", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 129, 40, 0.89)", | |
"value": 1 | |
}, | |
{ | |
"color": "rgba(245, 54, 54, 0.9)", | |
"value": 2 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 0, | |
"y": 1 | |
}, | |
"id": 21, | |
"interval": "1m", | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "center", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance) (ceph_health_status{})", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": " ", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"transparent": true, | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"decimals": 1, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgb(255, 255, 255)", | |
"value": null | |
} | |
] | |
}, | |
"unit": "Bps" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 3, | |
"y": 1 | |
}, | |
"id": 92, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, ceph_daemon) (irate(ceph_osd_op_w_in_bytes{}[5m]))", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Write Throughput", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"decimals": 1, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgb(255, 255, 255)", | |
"value": null | |
} | |
] | |
}, | |
"unit": "Bps" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 6, | |
"y": 1 | |
}, | |
"id": 93, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (ceph_daemon, instance) (irate(ceph_osd_op_r_out_bytes{}[5m]))", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Read Throughput", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(255, 255, 255, 0.97)", | |
"value": null | |
} | |
] | |
}, | |
"unit": "decbytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 9, | |
"y": 1 | |
}, | |
"id": 33, | |
"interval": "1m", | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance) (ceph_cluster_total_bytes{})", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"title": "Cluster Capacity", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"max": 1, | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(245, 54, 54, 0.9)", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 129, 40, 0.89)", | |
"value": 0.1 | |
}, | |
{ | |
"color": "rgba(50, 172, 45, 0.97)", | |
"value": 0.3 | |
} | |
] | |
}, | |
"unit": "percentunit" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 3, | |
"x": 12, | |
"y": 1 | |
}, | |
"id": 23, | |
"interval": "1m", | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"showThresholdLabels": false, | |
"showThresholdMarkers": true | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance) ((ceph_cluster_total_bytes{}-ceph_cluster_total_used_bytes{})/ceph_cluster_total_bytes{})", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"title": "Available Capacity", | |
"type": "gauge" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "dark-yellow", | |
"value": 75000000 | |
}, | |
{ | |
"color": "dark-red", | |
"value": 100000000 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 15, | |
"y": 1 | |
}, | |
"id": 48, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pool_objects{})", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Number of Objects", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"decimals": 1, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgb(255, 255, 255)", | |
"value": null | |
} | |
] | |
}, | |
"unit": "decbytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 18, | |
"y": 1 | |
}, | |
"id": 99, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"delta" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, ceph_daemon) (ceph_osd_op_w_in_bytes{})", | |
"format": "time_series", | |
"instant": false, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Bytes Written", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"decimals": 1, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgb(255, 255, 255)", | |
"value": null | |
} | |
] | |
}, | |
"unit": "decbytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 21, | |
"y": 1 | |
}, | |
"id": 100, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"delta" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, ceph_daemon) (ceph_osd_op_r_out_bytes{})", | |
"format": "time_series", | |
"instant": false, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Bytes Read", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "#9ac48a", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 129, 40, 0.89)", | |
"value": 1 | |
}, | |
{ | |
"color": "#e24d42", | |
"value": 1 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 0, | |
"y": 4 | |
}, | |
"id": 75, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "count(ALERTS{alertname=~\"^Ceph.*\",alertstate=\"firing\"}) OR vector(0)", | |
"format": "time_series", | |
"instant": true, | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Alerts", | |
"transparent": true, | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"decimals": 2, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgb(255, 255, 255)", | |
"value": null | |
} | |
] | |
}, | |
"unit": "ops" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 3, | |
"y": 4 | |
}, | |
"id": 97, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (ceph_daemon, instance) (irate(ceph_osd_op_w{}[5m]))", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Write IOPS", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"decimals": 2, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgb(255, 255, 255)", | |
"value": null | |
} | |
] | |
}, | |
"unit": "ops" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 6, | |
"y": 4 | |
}, | |
"id": 96, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (ceph_daemon, instance) (irate(ceph_osd_op_r{}[5m]))", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Read IOPS", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(255, 255, 255, 0.97)", | |
"value": null | |
} | |
] | |
}, | |
"unit": "decbytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 9, | |
"y": 4 | |
}, | |
"id": 34, | |
"interval": "1m", | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance) (ceph_cluster_total_used_bytes{})", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"title": "Used Capacity", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 18, | |
"y": 4 | |
}, | |
"id": 102, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, ceph_daemon) (ceph_mon_num_sessions{})", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Mon Session Num", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(245, 54, 54, 0.9)", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 129, 40, 0.89)", | |
"value": 2 | |
}, | |
{ | |
"color": "green", | |
"value": 3 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 21, | |
"y": 4 | |
}, | |
"id": 14, | |
"interval": "1m", | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "count without (instance, ceph_daemon) (ceph_mon_quorum_status{})", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"title": "Monitors In Quorum", | |
"type": "stat" | |
}, | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 7 | |
}, | |
"id": 38, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "OSD STATE", | |
"type": "row" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "#9ac48a", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 40, 40, 0.89)", | |
"value": 1 | |
}, | |
{ | |
"color": "rgba(245, 54, 54, 0.9)", | |
"value": 1 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 2, | |
"x": 0, | |
"y": 8 | |
}, | |
"id": 27, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "count without (instance, ceph_daemon) (ceph_osd_up{}) - count without (instance, ceph_daemon) (ceph_osd_in{})", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"title": "OSDs OUT", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(50, 172, 45, 0.97)", | |
"value": null | |
}, | |
{ | |
"color": "#eab839", | |
"value": 1 | |
}, | |
{ | |
"color": "#ea6460", | |
"value": 1 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 2, | |
"x": 2, | |
"y": 8 | |
}, | |
"id": 29, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"editorMode": "code", | |
"expr": "count(ceph_osd_up{} == 0.0) OR vector(0)", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"title": "OSDs DOWN", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 2, | |
"x": 4, | |
"y": 8 | |
}, | |
"id": 28, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, ceph_daemon) (ceph_osd_up{})", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"title": "OSDs UP", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 2, | |
"x": 6, | |
"y": 8 | |
}, | |
"id": 26, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, ceph_daemon) (ceph_osd_in{})", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"title": "OSDs IN", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(50, 172, 45, 0.97)", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 129, 40, 0.89)", | |
"value": 250 | |
}, | |
{ | |
"color": "rgba(245, 54, 54, 0.9)", | |
"value": 300 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 2, | |
"x": 8, | |
"y": 8 | |
}, | |
"id": 30, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "avg without (instance, ceph_daemon) (ceph_osd_numpg{})", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"title": "Avg PGs", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(50, 172, 45, 0.97)", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 129, 40, 0.89)", | |
"value": 10 | |
}, | |
{ | |
"color": "rgba(245, 54, 54, 0.9)", | |
"value": 50 | |
} | |
] | |
}, | |
"unit": "ms" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 10, | |
"y": 8 | |
}, | |
"id": 31, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "avg without (instance, ceph_daemon) (ceph_osd_apply_latency_ms{})", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"title": "Avg Apply Latency", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(50, 172, 45, 0.97)", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 129, 40, 0.89)", | |
"value": 10 | |
}, | |
{ | |
"color": "rgba(245, 54, 54, 0.9)", | |
"value": 50 | |
} | |
] | |
}, | |
"unit": "ms" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 13, | |
"y": 8 | |
}, | |
"id": 32, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "avg(ceph_osd_commit_latency_ms{})", | |
"format": "time_series", | |
"instant": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"title": "Avg Commit Latency", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"color": "#299c46", | |
"text": "0" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "#299c46", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 129, 40, 0.89)", | |
"value": 1 | |
}, | |
{ | |
"color": "#d44a3a", | |
"value": 2 | |
} | |
] | |
}, | |
"unit": "ms" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 16, | |
"y": 8 | |
}, | |
"id": 51, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "avg without (instance, ceph_daemon) (rate(ceph_osd_op_w_latency_sum{}[5m]) / rate(ceph_osd_op_w_latency_count{}[5m]) >= 0)", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Avg Op Write Latency", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "#299c46", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 129, 40, 0.89)", | |
"value": 1 | |
}, | |
{ | |
"color": "#d44a3a", | |
"value": 2 | |
} | |
] | |
}, | |
"unit": "ms" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 3, | |
"x": 19, | |
"y": 8 | |
}, | |
"id": 50, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "avg without (instance, ceph_daemon) (rate(ceph_osd_op_r_latency_sum{}[5m])/rate(ceph_osd_op_r_latency_count{}[5m]) >= 0)", | |
"format": "time_series", | |
"instant": true, | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Avg Op Read Latency", | |
"type": "stat" | |
}, | |
{ | |
"collapsed": true, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 11 | |
}, | |
"id": 53, | |
"panels": [ | |
{ | |
"columns": [], | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fontSize": "100%", | |
"gridPos": { | |
"h": 6, | |
"w": 8, | |
"x": 0, | |
"y": 12 | |
}, | |
"id": 70, | |
"links": [], | |
"scroll": true, | |
"showHeader": true, | |
"sort": { | |
"col": 0, | |
"desc": true | |
}, | |
"styles": [ | |
{ | |
"alias": "Time", | |
"align": "auto", | |
"dateFormat": "YYYY-MM-DD HH:mm:ss", | |
"pattern": "Time", | |
"type": "date" | |
}, | |
{ | |
"alias": "", | |
"align": "auto", | |
"colors": [ | |
"rgba(245, 54, 54, 0.9)", | |
"rgba(237, 129, 40, 0.89)", | |
"rgba(50, 172, 45, 0.97)" | |
], | |
"decimals": 2, | |
"pattern": "/.*/", | |
"thresholds": [], | |
"type": "number", | |
"unit": "short" | |
} | |
], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "ALERTS{alertname=~\"^Ceph.+\",alertstate=\"firing\"}", | |
"format": "table", | |
"instant": true, | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Alerts from Ceph", | |
"transform": "table", | |
"type": "table-old" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"custom": { | |
"align": "auto", | |
"displayMode": "auto", | |
"inspect": false | |
}, | |
"decimals": 2, | |
"displayName": "", | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "Time" | |
}, | |
"properties": [ | |
{ | |
"id": "displayName", | |
"value": "Time" | |
}, | |
{ | |
"id": "unit", | |
"value": "time: YYYY-MM-DD HH:mm:ss" | |
}, | |
{ | |
"id": "custom.align" | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 8, | |
"x": 8, | |
"y": 12 | |
}, | |
"id": 105, | |
"links": [], | |
"options": { | |
"footer": { | |
"fields": "", | |
"reducer": [ | |
"sum" | |
], | |
"show": false | |
}, | |
"showHeader": true | |
}, | |
"pluginVersion": "9.1.3", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "topk(5,sort_desc(ceph_osd_apply_latency_ms{} + ceph_osd_commit_latency_ms{}))", | |
"format": "table", | |
"instant": true, | |
"intervalFactor": 1, | |
"refId": "A", | |
"target": "" | |
} | |
], | |
"title": "Top Sluggish OSD's", | |
"transformations": [ | |
{ | |
"id": "merge", | |
"options": { | |
"reducers": [] | |
} | |
} | |
], | |
"type": "table" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"custom": { | |
"align": "auto", | |
"displayMode": "auto", | |
"inspect": false | |
}, | |
"decimals": 2, | |
"displayName": "", | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green" | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byName", | |
"options": "Time" | |
}, | |
"properties": [ | |
{ | |
"id": "displayName", | |
"value": "Time" | |
}, | |
{ | |
"id": "unit", | |
"value": "time: YYYY-MM-DD HH:mm:ss" | |
}, | |
{ | |
"id": "custom.align" | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 6, | |
"w": 8, | |
"x": 16, | |
"y": 12 | |
}, | |
"id": 103, | |
"links": [], | |
"options": { | |
"footer": { | |
"fields": "", | |
"reducer": [ | |
"sum" | |
], | |
"show": false | |
}, | |
"showHeader": true | |
}, | |
"pluginVersion": "9.1.3", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "ceph_osd_up{} == 0", | |
"format": "table", | |
"instant": true, | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Down OSD's", | |
"transformations": [ | |
{ | |
"id": "merge", | |
"options": { | |
"reducers": [] | |
} | |
} | |
], | |
"type": "table" | |
} | |
], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "Alerts", | |
"type": "row" | |
}, | |
{ | |
"collapsed": true, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 12 | |
}, | |
"id": 108, | |
"panels": [ | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 9, | |
"w": 6, | |
"x": 0, | |
"y": 13 | |
}, | |
"hiddenSeries": false, | |
"id": 110, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.1.3", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "count by (ceph_version) (ceph_osd_metadata{})", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{ ceph_version }}", | |
"refId": "A", | |
"target": "" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Ceph OSD Versions", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": 0, | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 9, | |
"w": 6, | |
"x": 6, | |
"y": 13 | |
}, | |
"hiddenSeries": false, | |
"id": 111, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.1.3", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "count by (ceph_version)(ceph_mon_metadata{})", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{ ceph_version }}", | |
"refId": "A", | |
"target": "" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Ceph Mon Versions", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": 0, | |
"format": "short", | |
"label": "", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 9, | |
"w": 6, | |
"x": 12, | |
"y": 13 | |
}, | |
"hiddenSeries": false, | |
"id": 112, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.1.3", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "count by (ceph_version)(ceph_mds_metadata{})", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{ ceph_version }}", | |
"refId": "A", | |
"target": "" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Ceph MDS Versions", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": 0, | |
"format": "short", | |
"label": "", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 9, | |
"w": 6, | |
"x": 18, | |
"y": 13 | |
}, | |
"hiddenSeries": false, | |
"id": 113, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.1.3", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "count by (ceph_version)(ceph_rgw_metadata{})", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{ ceph_version }}", | |
"refId": "A", | |
"target": "" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Ceph RGW Versions", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"decimals": 0, | |
"format": "short", | |
"label": "", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
} | |
], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "Ceph Versions", | |
"type": "row" | |
}, | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 13 | |
}, | |
"id": 39, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "CLUSTER", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": { | |
"Available": "#EAB839", | |
"Total Capacity": "#447EBC", | |
"Used": "#BF1B00", | |
"total_avail": "#6ED0E0", | |
"total_space": "#7EB26D", | |
"total_used": "#890F02" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"editable": true, | |
"error": false, | |
"fill": 4, | |
"fillGradient": 0, | |
"grid": {}, | |
"gridPos": { | |
"h": 8, | |
"w": 8, | |
"x": 0, | |
"y": 14 | |
}, | |
"height": "300", | |
"hiddenSeries": false, | |
"id": 1, | |
"interval": "$interval", | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 0, | |
"links": [], | |
"nullPointMode": "connected", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.0.5", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "Total Capacity", | |
"fill": 0, | |
"linewidth": 3, | |
"stack": false | |
} | |
], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance) (ceph_cluster_total_bytes{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Total Capacity", | |
"refId": "C", | |
"step": 300 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance) (ceph_cluster_total_bytes{}-ceph_cluster_total_used_bytes{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Available", | |
"refId": "A", | |
"step": 300 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance) (ceph_cluster_total_used_bytes{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Used", | |
"refId": "B", | |
"step": 300 | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Capacity", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:905", | |
"format": "bytes", | |
"logBase": 1, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:906", | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": { | |
"Total Capacity": "#7EB26D", | |
"Used": "#BF1B00", | |
"total_avail": "#6ED0E0", | |
"total_space": "#7EB26D", | |
"total_used": "#890F02" | |
}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"decimals": 0, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"fillGradient": 0, | |
"grid": {}, | |
"gridPos": { | |
"h": 8, | |
"w": 8, | |
"x": 8, | |
"y": 14 | |
}, | |
"height": "300", | |
"hiddenSeries": false, | |
"id": 3, | |
"interval": "$interval", | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "connected", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.0.5", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, ceph_daemon) (irate(ceph_osd_op_w{}[5m]))", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Write", | |
"refId": "A", | |
"step": 300 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, ceph_daemon) (irate(ceph_osd_op_r{}[5m]))", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Read", | |
"refId": "B", | |
"step": 300 | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "IOPS", | |
"tooltip": { | |
"msResolution": true, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:2411", | |
"format": "none", | |
"label": "", | |
"logBase": 1, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:2412", | |
"format": "short", | |
"logBase": 1, | |
"min": 0, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"fillGradient": 0, | |
"grid": {}, | |
"gridPos": { | |
"h": 8, | |
"w": 8, | |
"x": 16, | |
"y": 14 | |
}, | |
"height": "300", | |
"hiddenSeries": false, | |
"id": 7, | |
"interval": "$interval", | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "connected", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.0.5", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, ceph_daemon) (irate(ceph_osd_op_w_in_bytes{}[5m]))", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Write", | |
"refId": "A", | |
"step": 300 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, ceph_daemon) (irate(ceph_osd_op_r_out_bytes{}[5m]))", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Read", | |
"refId": "B", | |
"step": 300 | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Throughput", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 2, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:2382", | |
"format": "decbytes", | |
"logBase": 1, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:2383", | |
"format": "short", | |
"logBase": 1, | |
"min": 0, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"description": "", | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 8, | |
"w": 8, | |
"x": 0, | |
"y": 22 | |
}, | |
"hiddenSeries": false, | |
"id": 78, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": false, | |
"rightSide": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.0.5", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum((ceph_pool_num_bytes_recovered{}) *on (instance, pool_id) group_left(name)(ceph_pool_metadata{})) by (name)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{name}}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Pool Bytes Recovered", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:2148", | |
"format": "bytes", | |
"label": "", | |
"logBase": 1, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:2149", | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"description": "", | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 8, | |
"w": 7, | |
"x": 8, | |
"y": 22 | |
}, | |
"hiddenSeries": false, | |
"id": 114, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": true, | |
"min": false, | |
"rightSide": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.0.5", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) ((ceph_pool_num_objects_recovered{}) *on (instance, pool_id) group_left(name)(ceph_pool_metadata{}))", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{name}}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Pool Objects Recovered", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:2148", | |
"format": "short", | |
"label": "", | |
"logBase": 1, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:2149", | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 8, | |
"w": 9, | |
"x": 15, | |
"y": 22 | |
}, | |
"hiddenSeries": false, | |
"id": 79, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": false, | |
"min": false, | |
"rightSide": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.0.5", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance) ((ceph_pool_objects{}) *on (instance, pool_id) group_left(name)(ceph_pool_metadata{}))", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{name}}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Objects Per Pool", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:795", | |
"format": "short", | |
"logBase": 1, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:796", | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 8, | |
"x": 0, | |
"y": 30 | |
}, | |
"hiddenSeries": false, | |
"id": 80, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.0.5", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance) ((ceph_pool_quota_bytes{}) *on (instance, pool_id) group_left(name)(ceph_pool_metadata{}))", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{name}}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Pool Quota Bytes", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:685", | |
"format": "bytes", | |
"logBase": 1, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:686", | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 8, | |
"x": 8, | |
"y": 30 | |
}, | |
"hiddenSeries": false, | |
"id": 81, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.0.5", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance) (ceph_pool_quota_objects{}) *on (instance, pool_id) group_left(name)(ceph_pool_metadata{})", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{name}}", | |
"refId": "A" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Pool Objects Quota", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:656", | |
"format": "short", | |
"logBase": 1, | |
"min": "0", | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:657", | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 8, | |
"x": 16, | |
"y": 30 | |
}, | |
"hiddenSeries": false, | |
"id": 106, | |
"legend": { | |
"alignAsTable": false, | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.0.5", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "count without (instance, ceph_daemon) (ceph_bluestore_commit_lat_count{})", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "BlueStore", | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "count without (instance, ceph_daemon) (ceph_filestore_journal_latency_count{})", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "FileStore", | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "OSD Type Count", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 37 | |
}, | |
"id": 41, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "OBJECTS", | |
"type": "row" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"fillGradient": 0, | |
"grid": {}, | |
"gridPos": { | |
"h": 12, | |
"w": 6, | |
"x": 0, | |
"y": 38 | |
}, | |
"hiddenSeries": false, | |
"id": 18, | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"rightSide": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "connected", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.0.5", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "/^Total.*$/", | |
"stack": false | |
} | |
], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pool_objects)", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Total", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Objects in the Cluster", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 1, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"fillGradient": 0, | |
"grid": {}, | |
"gridPos": { | |
"h": 12, | |
"w": 8, | |
"x": 6, | |
"y": 38 | |
}, | |
"hiddenSeries": false, | |
"id": 19, | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": true, | |
"max": false, | |
"min": false, | |
"rightSide": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "connected", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.0.5", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "/^Total.*$/", | |
"stack": false | |
} | |
], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_active{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Active", | |
"refId": "M" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_clean{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Clean", | |
"refId": "U" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_peering{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Peering", | |
"refId": "I" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_degraded{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Degraded", | |
"refId": "B", | |
"step": 300 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_stale{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Stale", | |
"refId": "C", | |
"step": 300 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_unclean_pgs{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Unclean", | |
"refId": "D", | |
"step": 300 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_undersized{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Undersized", | |
"refId": "E", | |
"step": 300 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_incomplete{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Incomplete", | |
"refId": "G" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_forced_backfill{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Forced Backfill", | |
"refId": "H" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_inconsistent{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Inconsistent", | |
"refId": "F" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_forced_recovery{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Forced Recovery", | |
"refId": "J" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_creating{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Creating", | |
"refId": "K" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_wait_backfill{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Wait Backfill", | |
"refId": "L" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_deep{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Deep", | |
"refId": "N" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_scrubbing{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Scrubbing", | |
"refId": "O" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_recovering{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Recovering", | |
"refId": "P" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_repair{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Repair", | |
"refId": "Q" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_down{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Down", | |
"refId": "R" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_peered{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Peered", | |
"refId": "S" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_backfill{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Backfill", | |
"refId": "T" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_remapped{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Remapped", | |
"refId": "V" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_backfill_toofull{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Backfill Toofull", | |
"refId": "W" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "PGs State", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 1, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"logBase": 2, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"fillGradient": 0, | |
"grid": {}, | |
"gridPos": { | |
"h": 6, | |
"w": 10, | |
"x": 14, | |
"y": 38 | |
}, | |
"hiddenSeries": false, | |
"id": 20, | |
"legend": { | |
"alignAsTable": true, | |
"avg": true, | |
"current": true, | |
"max": false, | |
"min": false, | |
"rightSide": true, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "connected", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.0.5", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [ | |
{ | |
"alias": "/^Total.*$/", | |
"stack": false | |
} | |
], | |
"spaceLength": 10, | |
"stack": true, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_degraded{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Degraded", | |
"refId": "F", | |
"step": 300 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_stale{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Stale", | |
"refId": "A", | |
"step": 300 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id) (ceph_pg_undersized{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Undersized", | |
"refId": "B", | |
"step": 300 | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Stuck PGs", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 1, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "short", | |
"logBase": 1, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"editable": true, | |
"error": false, | |
"fill": 1, | |
"fillGradient": 0, | |
"grid": {}, | |
"gridPos": { | |
"h": 6, | |
"w": 10, | |
"x": 14, | |
"y": 44 | |
}, | |
"hiddenSeries": false, | |
"id": 15, | |
"legend": { | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"show": false, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 2, | |
"links": [], | |
"nullPointMode": "connected", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.0.5", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, ceph_daemon) (irate(ceph_osd_recovery_ops{}[$__rate_interval]))", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "OPS", | |
"refId": "A", | |
"step": 300 | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Recovery Operations", | |
"tooltip": { | |
"msResolution": false, | |
"shared": true, | |
"sort": 0, | |
"value_type": "cumulative" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:2458", | |
"format": "short", | |
"logBase": 1, | |
"min": 0, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:2459", | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 50 | |
}, | |
"id": 40, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "LATENCY", | |
"type": "row" | |
}, | |
{ | |
"cards": {}, | |
"color": { | |
"cardColor": "#b4ff00", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateOranges", | |
"exponent": 0.5, | |
"mode": "opacity" | |
}, | |
"dataFormat": "timeseries", | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 51 | |
}, | |
"heatmap": {}, | |
"hideZeroBuckets": false, | |
"highlightCards": true, | |
"id": 83, | |
"legend": { | |
"show": true | |
}, | |
"links": [], | |
"options": { | |
"calculate": true, | |
"calculation": { | |
"yBuckets": { | |
"mode": "count", | |
"scale": { | |
"log": 2, | |
"type": "log" | |
}, | |
"value": "1" | |
} | |
}, | |
"cellGap": 2, | |
"cellValues": {}, | |
"color": { | |
"exponent": 0.5, | |
"fill": "#b4ff00", | |
"mode": "opacity", | |
"scale": "exponential", | |
"scheme": "Oranges", | |
"steps": 128 | |
}, | |
"exemplars": { | |
"color": "rgba(255,0,255,0.7)" | |
}, | |
"filterValues": { | |
"le": 1e-9 | |
}, | |
"legend": { | |
"show": true | |
}, | |
"rowsFrame": { | |
"layout": "auto" | |
}, | |
"showValue": "never", | |
"tooltip": { | |
"show": true, | |
"yHistogram": false | |
}, | |
"yAxis": { | |
"axisPlacement": "left", | |
"min": "0", | |
"reverse": false, | |
"unit": "ms" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"reverseYBuckets": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "ceph_osd_apply_latency_ms{}", | |
"format": "time_series", | |
"instant": false, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "OSD Apply Latency Distribution", | |
"tooltip": { | |
"show": true, | |
"showHistogram": false | |
}, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketSize": "", | |
"yAxis": { | |
"format": "ms", | |
"logBase": 2, | |
"min": "0", | |
"show": true, | |
"splitFactor": 1 | |
}, | |
"yBucketBound": "auto", | |
"yBucketSize": 10 | |
}, | |
{ | |
"cards": {}, | |
"color": { | |
"cardColor": "#65c5db", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateOranges", | |
"exponent": 0.5, | |
"mode": "opacity" | |
}, | |
"dataFormat": "timeseries", | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 51 | |
}, | |
"heatmap": {}, | |
"hideZeroBuckets": false, | |
"highlightCards": true, | |
"id": 84, | |
"legend": { | |
"show": true | |
}, | |
"links": [], | |
"options": { | |
"calculate": true, | |
"calculation": { | |
"yBuckets": { | |
"mode": "count", | |
"scale": { | |
"log": 2, | |
"type": "log" | |
} | |
} | |
}, | |
"cellGap": 2, | |
"cellValues": {}, | |
"color": { | |
"exponent": 0.5, | |
"fill": "#65c5db", | |
"mode": "opacity", | |
"scale": "exponential", | |
"scheme": "Oranges", | |
"steps": 128 | |
}, | |
"exemplars": { | |
"color": "rgba(255,0,255,0.7)" | |
}, | |
"filterValues": { | |
"le": 1e-9 | |
}, | |
"legend": { | |
"show": true | |
}, | |
"rowsFrame": { | |
"layout": "auto" | |
}, | |
"showValue": "never", | |
"tooltip": { | |
"show": true, | |
"yHistogram": false | |
}, | |
"yAxis": { | |
"axisPlacement": "left", | |
"min": "0", | |
"reverse": false, | |
"unit": "ms" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"reverseYBuckets": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "ceph_osd_commit_latency_ms{}", | |
"format": "time_series", | |
"instant": false, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"refId": "A" | |
} | |
], | |
"title": "OSD Commit Latency Distribution", | |
"tooltip": { | |
"show": true, | |
"showHistogram": false | |
}, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketSize": "", | |
"yAxis": { | |
"format": "ms", | |
"logBase": 2, | |
"min": "0", | |
"show": true | |
}, | |
"yBucketBound": "auto" | |
}, | |
{ | |
"cards": {}, | |
"color": { | |
"cardColor": "#806eb7", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateOranges", | |
"exponent": 0.5, | |
"mode": "opacity" | |
}, | |
"dataFormat": "timeseries", | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 59 | |
}, | |
"heatmap": {}, | |
"hideZeroBuckets": false, | |
"highlightCards": true, | |
"id": 85, | |
"legend": { | |
"show": true | |
}, | |
"links": [], | |
"options": { | |
"calculate": true, | |
"calculation": { | |
"yBuckets": { | |
"mode": "count", | |
"scale": { | |
"log": 2, | |
"type": "log" | |
} | |
} | |
}, | |
"cellGap": 2, | |
"cellValues": {}, | |
"color": { | |
"exponent": 0.5, | |
"fill": "#806eb7", | |
"mode": "opacity", | |
"scale": "exponential", | |
"scheme": "Oranges", | |
"steps": 128 | |
}, | |
"exemplars": { | |
"color": "rgba(255,0,255,0.7)" | |
}, | |
"filterValues": { | |
"le": 1e-9 | |
}, | |
"legend": { | |
"show": true | |
}, | |
"rowsFrame": { | |
"layout": "auto" | |
}, | |
"showValue": "never", | |
"tooltip": { | |
"show": true, | |
"yHistogram": false | |
}, | |
"yAxis": { | |
"axisPlacement": "left", | |
"decimals": 2, | |
"min": "0", | |
"reverse": false, | |
"unit": "ms" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"reverseYBuckets": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "rate(ceph_osd_op_r_latency_sum{}[5m]) / rate(ceph_osd_op_r_latency_count{}[5m]) >= 0", | |
"format": "time_series", | |
"instant": false, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"refId": "A" | |
} | |
], | |
"title": "OSD Read Op Latency Distribution", | |
"tooltip": { | |
"show": true, | |
"showHistogram": false | |
}, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketSize": "", | |
"yAxis": { | |
"decimals": 2, | |
"format": "ms", | |
"logBase": 2, | |
"min": "0", | |
"show": true | |
}, | |
"yBucketBound": "auto" | |
}, | |
{ | |
"cards": {}, | |
"color": { | |
"cardColor": "#f9934e", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateOranges", | |
"exponent": 0.5, | |
"mode": "opacity" | |
}, | |
"dataFormat": "timeseries", | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 59 | |
}, | |
"heatmap": {}, | |
"hideZeroBuckets": false, | |
"highlightCards": true, | |
"id": 86, | |
"legend": { | |
"show": true | |
}, | |
"links": [], | |
"options": { | |
"calculate": true, | |
"calculation": { | |
"yBuckets": { | |
"mode": "count", | |
"scale": { | |
"log": 2, | |
"type": "log" | |
} | |
} | |
}, | |
"cellGap": 2, | |
"cellValues": {}, | |
"color": { | |
"exponent": 0.5, | |
"fill": "#f9934e", | |
"mode": "opacity", | |
"scale": "exponential", | |
"scheme": "Oranges", | |
"steps": 128 | |
}, | |
"exemplars": { | |
"color": "rgba(255,0,255,0.7)" | |
}, | |
"filterValues": { | |
"le": 1e-9 | |
}, | |
"legend": { | |
"show": true | |
}, | |
"rowsFrame": { | |
"layout": "auto" | |
}, | |
"showValue": "never", | |
"tooltip": { | |
"show": true, | |
"yHistogram": false | |
}, | |
"yAxis": { | |
"axisPlacement": "left", | |
"decimals": 2, | |
"min": "0", | |
"reverse": false, | |
"unit": "ms" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"reverseYBuckets": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "rate(ceph_osd_op_w_latency_sum{}[5m]) / rate(ceph_osd_op_w_latency_count{}[5m]) >= 0", | |
"format": "time_series", | |
"hide": false, | |
"instant": false, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "OSD Write Op Latency Distribution", | |
"tooltip": { | |
"show": true, | |
"showHistogram": false | |
}, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketSize": "", | |
"yAxis": { | |
"decimals": 2, | |
"format": "ms", | |
"logBase": 2, | |
"min": "0", | |
"show": true | |
}, | |
"yBucketBound": "auto" | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 67 | |
}, | |
"hiddenSeries": false, | |
"id": 44, | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": false, | |
"max": false, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": false | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.0.5", | |
"pointradius": 5, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "avg without (instance,ceph_daemon) (rate(ceph_osd_op_r_latency_sum{}[5m]) / rate(ceph_osd_op_r_latency_count{}[5m]) >= 0)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "read", | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "avg without (instance, ceph_daemon) (rate(ceph_osd_op_w_latency_sum{}[5m]) / rate(ceph_osd_op_w_latency_count{}[5m]) >= 0)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "write", | |
"refId": "B" | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "Avg OSD Op Latency", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"format": "ms", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
}, | |
{ | |
"aliasColors": {}, | |
"bars": false, | |
"dashLength": 10, | |
"dashes": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fill": 1, | |
"fillGradient": 0, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 67 | |
}, | |
"hiddenSeries": false, | |
"id": 35, | |
"legend": { | |
"alignAsTable": true, | |
"avg": false, | |
"current": true, | |
"hideEmpty": false, | |
"max": true, | |
"min": false, | |
"rightSide": false, | |
"show": true, | |
"total": false, | |
"values": true | |
}, | |
"lines": true, | |
"linewidth": 1, | |
"links": [], | |
"nullPointMode": "null", | |
"options": { | |
"alertThreshold": true | |
}, | |
"percentage": false, | |
"pluginVersion": "9.0.5", | |
"pointradius": 1, | |
"points": false, | |
"renderer": "flot", | |
"seriesOverrides": [], | |
"spaceLength": 10, | |
"stack": false, | |
"steppedLine": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "avg without (instance, ceph_daemon) (ceph_osd_apply_latency_ms{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "apply", | |
"metric": "ceph_osd_perf_apply_latency_seconds", | |
"refId": "A", | |
"step": 4 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "avg without (instance, ceph_daemon) (ceph_osd_commit_latency_ms{})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "commit", | |
"metric": "ceph_osd_perf_commit_latency_seconds", | |
"refId": "B", | |
"step": 4 | |
} | |
], | |
"thresholds": [], | |
"timeRegions": [], | |
"title": "AVG OSD Apply + Commit Latency", | |
"tooltip": { | |
"shared": true, | |
"sort": 0, | |
"value_type": "individual" | |
}, | |
"type": "graph", | |
"xaxis": { | |
"mode": "time", | |
"show": true, | |
"values": [] | |
}, | |
"yaxes": [ | |
{ | |
"$$hashKey": "object:1258", | |
"format": "ms", | |
"logBase": 1, | |
"show": true | |
}, | |
{ | |
"$$hashKey": "object:1259", | |
"format": "short", | |
"logBase": 1, | |
"show": true | |
} | |
], | |
"yaxis": { | |
"align": false | |
} | |
} | |
], | |
"refresh": "1m", | |
"schemaVersion": 36, | |
"style": "dark", | |
"tags": [ | |
"ceph", | |
"cluster" | |
], | |
"templating": { | |
"list": [ | |
{ | |
"current": { | |
"selected": false, | |
"text": "Prometheus", | |
"value": "Prometheus" | |
}, | |
"hide": 1, | |
"includeAll": false, | |
"multi": false, | |
"name": "DS_PROMETHEUS", | |
"options": [], | |
"query": "prometheus", | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"type": "datasource" | |
}, | |
{ | |
"auto": true, | |
"auto_count": 10, | |
"auto_min": "1m", | |
"current": { | |
"selected": false, | |
"text": "10s", | |
"value": "10s" | |
}, | |
"datasource": "Prometheus", | |
"hide": 0, | |
"includeAll": false, | |
"label": "Interval", | |
"multi": false, | |
"name": "interval", | |
"options": [ | |
{ | |
"selected": false, | |
"text": "auto", | |
"value": "$__auto_interval_interval" | |
}, | |
{ | |
"selected": false, | |
"text": "5s", | |
"value": "5s" | |
}, | |
{ | |
"selected": true, | |
"text": "10s", | |
"value": "10s" | |
}, | |
{ | |
"selected": false, | |
"text": "30s", | |
"value": "30s" | |
}, | |
{ | |
"selected": false, | |
"text": "1m", | |
"value": "1m" | |
}, | |
{ | |
"selected": false, | |
"text": "10m", | |
"value": "10m" | |
}, | |
{ | |
"selected": false, | |
"text": "30m", | |
"value": "30m" | |
}, | |
{ | |
"selected": false, | |
"text": "1h", | |
"value": "1h" | |
}, | |
{ | |
"selected": false, | |
"text": "6h", | |
"value": "6h" | |
}, | |
{ | |
"selected": false, | |
"text": "12h", | |
"value": "12h" | |
}, | |
{ | |
"selected": false, | |
"text": "1d", | |
"value": "1d" | |
}, | |
{ | |
"selected": false, | |
"text": "7d", | |
"value": "7d" | |
}, | |
{ | |
"selected": false, | |
"text": "14d", | |
"value": "14d" | |
}, | |
{ | |
"selected": false, | |
"text": "30d", | |
"value": "30d" | |
} | |
], | |
"query": "5s,10s,30s,1m,10m,30m,1h,6h,12h,1d,7d,14d,30d", | |
"queryValue": "", | |
"refresh": 2, | |
"skipUrlSync": false, | |
"type": "interval" | |
} | |
] | |
}, | |
"time": { | |
"from": "now-12h", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
], | |
"time_options": [ | |
"5m", | |
"15m", | |
"1h", | |
"6h", | |
"12h", | |
"24h", | |
"2d", | |
"7d", | |
"30d" | |
] | |
}, | |
"timezone": "browser", | |
"title": "Ceph - Cluster", | |
"uid": "r6lloPJmz1", | |
"version": 2, | |
"weekStart": "" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} | |
], | |
"__elements": {}, | |
"__requires": [ | |
{ | |
"type": "panel", | |
"id": "gauge", | |
"name": "Gauge", | |
"version": "" | |
}, | |
{ | |
"type": "grafana", | |
"id": "grafana", | |
"name": "Grafana", | |
"version": "9.0.5" | |
}, | |
{ | |
"type": "panel", | |
"id": "heatmap", | |
"name": "Heatmap", | |
"version": "" | |
}, | |
{ | |
"type": "datasource", | |
"id": "prometheus", | |
"name": "Prometheus", | |
"version": "1.0.0" | |
}, | |
{ | |
"type": "panel", | |
"id": "stat", | |
"name": "Stat", | |
"version": "" | |
}, | |
{ | |
"type": "panel", | |
"id": "timeseries", | |
"name": "Time series", | |
"version": "" | |
} | |
], | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "datasource", | |
"uid": "grafana" | |
}, | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"target": { | |
"limit": 100, | |
"matchAny": false, | |
"tags": [], | |
"type": "dashboard" | |
}, | |
"type": "dashboard" | |
} | |
] | |
}, | |
"description": "CEPH OSD Status.", | |
"editable": false, | |
"fiscalYearStartMonth": 0, | |
"gnetId": 5336, | |
"graphTooltip": 0, | |
"id": null, | |
"links": [], | |
"liveNow": false, | |
"panels": [ | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 11, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "OSD Status / Total OSDs", | |
"type": "row" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"from": 0, | |
"result": { | |
"index": 0, | |
"text": "N/A" | |
}, | |
"to": 0 | |
}, | |
"type": "range" | |
}, | |
{ | |
"options": { | |
"from": 0, | |
"result": { | |
"index": 1, | |
"text": "DOWN" | |
}, | |
"to": 0.99 | |
}, | |
"type": "range" | |
}, | |
{ | |
"options": { | |
"from": 0.99, | |
"result": { | |
"index": 2, | |
"text": "UP" | |
}, | |
"to": 1 | |
}, | |
"type": "range" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(245, 54, 54, 0.9)", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 40, 40, 0.89)", | |
"value": 0 | |
}, | |
{ | |
"color": "rgba(50, 172, 45, 0.97)", | |
"value": 1 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 2, | |
"x": 0, | |
"y": 1 | |
}, | |
"id": 6, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"editorMode": "code", | |
"expr": "sum without (instance) (ceph_osd_up{ceph_daemon=\"$osd\"})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"range": true, | |
"refId": "A", | |
"step": 60 | |
} | |
], | |
"title": "Status", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"from": 0, | |
"result": { | |
"index": 0, | |
"text": "N/A" | |
}, | |
"to": 0 | |
}, | |
"type": "range" | |
}, | |
{ | |
"options": { | |
"from": 0, | |
"result": { | |
"index": 1, | |
"text": "OUT" | |
}, | |
"to": 0.99 | |
}, | |
"type": "range" | |
}, | |
{ | |
"options": { | |
"from": 0.99, | |
"result": { | |
"index": 2, | |
"text": "IN" | |
}, | |
"to": 1 | |
}, | |
"type": "range" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(245, 54, 54, 0.9)", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 40, 40, 0.89)", | |
"value": 0 | |
}, | |
{ | |
"color": "rgba(50, 172, 45, 0.97)", | |
"value": 1 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 2, | |
"x": 2, | |
"y": 1 | |
}, | |
"id": 8, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "background", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance) (ceph_osd_in{ceph_daemon=\"$osd\"})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 60 | |
} | |
], | |
"title": "Available", | |
"type": "stat" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"mappings": [ | |
{ | |
"options": { | |
"from": 0, | |
"result": { | |
"index": 0, | |
"text": "N/A" | |
}, | |
"to": 0 | |
}, | |
"type": "range" | |
} | |
], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(255, 255, 255, 0.9)", | |
"value": null | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 3, | |
"w": 2, | |
"x": 4, | |
"y": 1 | |
}, | |
"id": 10, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "none", | |
"justifyMode": "auto", | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "count without (instance, ceph_daemon) (ceph_osd_up)", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 60 | |
} | |
], | |
"title": "Total OSDs", | |
"type": "stat" | |
}, | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 4 | |
}, | |
"id": 12, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "OSD: $osd", | |
"type": "row" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 2, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true, | |
"stacking": { | |
"group": "A", | |
"mode": "normal" | |
}, | |
"thresholdsStyle": { | |
"mode": "line" | |
} | |
}, | |
"mappings": [], | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "transparent", | |
"value": null | |
}, | |
{ | |
"color": "rgba(216, 200, 27, 0.27)", | |
"value": 250 | |
}, | |
{ | |
"color": "rgba(234, 112, 112, 0.22)", | |
"value": 300 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byRegexp", | |
"options": "/^Average.*/" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.fillOpacity", | |
"value": 0 | |
}, | |
{ | |
"id": "custom.stacking", | |
"value": { | |
"group": false, | |
"mode": "normal" | |
} | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 11, | |
"x": 0, | |
"y": 5 | |
}, | |
"id": 5, | |
"interval": "$interval", | |
"links": [], | |
"options": { | |
"legend": { | |
"calcs": [ | |
"mean", | |
"lastNotNull", | |
"max", | |
"min" | |
], | |
"displayMode": "table", | |
"placement": "bottom", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, ceph_daemon) (ceph_osd_numpg{ceph_daemon=~\"$osd\"})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Number of PGs", | |
"refId": "A", | |
"step": 60 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "avg without (instance, ceph_daemon) (ceph_osd_numpg)", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Average Number of PGs in the Cluster", | |
"refId": "B", | |
"step": 60 | |
} | |
], | |
"title": "PGs", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 2, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true, | |
"stacking": { | |
"group": "A", | |
"mode": "normal" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"mappings": [], | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "bytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 9, | |
"x": 11, | |
"y": 5 | |
}, | |
"id": 2, | |
"interval": "$interval", | |
"links": [], | |
"options": { | |
"legend": { | |
"calcs": [ | |
"mean", | |
"lastNotNull", | |
"max", | |
"min" | |
], | |
"displayMode": "table", | |
"placement": "bottom", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, ceph_daemon) (ceph_osd_stat_bytes{ceph_daemon=\"osd.0\"}-ceph_osd_stat_bytes_used{ceph_daemon=\"osd.0\"})", | |
"format": "time_series", | |
"hide": false, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Available", | |
"metric": "ceph_osd_avail_bytes", | |
"refId": "A", | |
"step": 60 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, ceph_daemon) (ceph_osd_stat_bytes_used{ceph_daemon=~\"$osd\"})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Used", | |
"metric": "ceph_osd_avail_bytes", | |
"refId": "B", | |
"step": 60 | |
} | |
], | |
"title": "OSD Storage", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"max": 100, | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "rgba(50, 172, 45, 0.97)", | |
"value": null | |
}, | |
{ | |
"color": "rgba(237, 129, 40, 0.89)", | |
"value": 60 | |
}, | |
{ | |
"color": "rgba(245, 54, 54, 0.9)", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "percent" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 4, | |
"x": 20, | |
"y": 5 | |
}, | |
"id": 7, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"showThresholdLabels": false, | |
"showThresholdMarkers": true | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, ceph_daemon) (ceph_osd_stat_bytes_used{ceph_daemon=\"osd.0\"}/ceph_osd_stat_bytes{ceph_daemon=\"osd.0\"})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 60 | |
} | |
], | |
"title": "Utilization", | |
"type": "gauge" | |
}, | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 12 | |
}, | |
"id": 13, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "Latency, Storage, Utilization Varience", | |
"type": "row" | |
}, | |
{ | |
"cards": {}, | |
"color": { | |
"cardColor": "#b4ff00", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateOranges", | |
"exponent": 0.5, | |
"mode": "opacity" | |
}, | |
"dataFormat": "timeseries", | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 13 | |
}, | |
"heatmap": {}, | |
"hideZeroBuckets": false, | |
"highlightCards": true, | |
"id": 83, | |
"legend": { | |
"show": true | |
}, | |
"links": [], | |
"options": { | |
"calculate": true, | |
"calculation": { | |
"yBuckets": { | |
"mode": "count", | |
"scale": { | |
"log": 2, | |
"type": "log" | |
}, | |
"value": "1" | |
} | |
}, | |
"cellGap": 2, | |
"cellValues": {}, | |
"color": { | |
"exponent": 0.5, | |
"fill": "#b4ff00", | |
"mode": "opacity", | |
"scale": "exponential", | |
"scheme": "Oranges", | |
"steps": 128 | |
}, | |
"exemplars": { | |
"color": "rgba(255,0,255,0.7)" | |
}, | |
"filterValues": { | |
"le": 1e-9 | |
}, | |
"legend": { | |
"show": true | |
}, | |
"rowsFrame": { | |
"layout": "auto" | |
}, | |
"showValue": "never", | |
"tooltip": { | |
"show": true, | |
"yHistogram": false | |
}, | |
"yAxis": { | |
"axisPlacement": "left", | |
"min": "0", | |
"reverse": false, | |
"unit": "ms" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"reverseYBuckets": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance) (ceph_osd_apply_latency_ms{ceph_daemon='$osd'})", | |
"format": "time_series", | |
"instant": false, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "OSD Apply Latency Distribution", | |
"tooltip": { | |
"show": true, | |
"showHistogram": false | |
}, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketSize": "", | |
"yAxis": { | |
"format": "ms", | |
"logBase": 2, | |
"min": "0", | |
"show": true, | |
"splitFactor": 1 | |
}, | |
"yBucketBound": "auto", | |
"yBucketSize": 10 | |
}, | |
{ | |
"cards": {}, | |
"color": { | |
"cardColor": "#65c5db", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateOranges", | |
"exponent": 0.5, | |
"mode": "opacity" | |
}, | |
"dataFormat": "timeseries", | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 13 | |
}, | |
"heatmap": {}, | |
"hideZeroBuckets": false, | |
"highlightCards": true, | |
"id": 84, | |
"legend": { | |
"show": true | |
}, | |
"links": [], | |
"options": { | |
"calculate": true, | |
"calculation": { | |
"yBuckets": { | |
"mode": "count", | |
"scale": { | |
"log": 2, | |
"type": "log" | |
} | |
} | |
}, | |
"cellGap": 2, | |
"cellValues": {}, | |
"color": { | |
"exponent": 0.5, | |
"fill": "#65c5db", | |
"mode": "opacity", | |
"scale": "exponential", | |
"scheme": "Oranges", | |
"steps": 128 | |
}, | |
"exemplars": { | |
"color": "rgba(255,0,255,0.7)" | |
}, | |
"filterValues": { | |
"le": 1e-9 | |
}, | |
"legend": { | |
"show": true | |
}, | |
"rowsFrame": { | |
"layout": "auto" | |
}, | |
"showValue": "never", | |
"tooltip": { | |
"show": true, | |
"yHistogram": false | |
}, | |
"yAxis": { | |
"axisPlacement": "left", | |
"min": "0", | |
"reverse": false, | |
"unit": "ms" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"reverseYBuckets": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance) (ceph_osd_commit_latency_ms{ceph_daemon='$osd'})", | |
"format": "time_series", | |
"instant": false, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "OSD Commit Latency Distribution", | |
"tooltip": { | |
"show": true, | |
"showHistogram": false | |
}, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketSize": "", | |
"yAxis": { | |
"format": "ms", | |
"logBase": 2, | |
"min": "0", | |
"show": true | |
}, | |
"yBucketBound": "auto" | |
}, | |
{ | |
"cards": {}, | |
"color": { | |
"cardColor": "#806eb7", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateOranges", | |
"exponent": 0.5, | |
"mode": "opacity" | |
}, | |
"dataFormat": "timeseries", | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 21 | |
}, | |
"heatmap": {}, | |
"hideZeroBuckets": false, | |
"highlightCards": true, | |
"id": 85, | |
"legend": { | |
"show": true | |
}, | |
"links": [], | |
"options": { | |
"calculate": true, | |
"calculation": { | |
"yBuckets": { | |
"mode": "count", | |
"scale": { | |
"log": 2, | |
"type": "log" | |
} | |
} | |
}, | |
"cellGap": 2, | |
"cellValues": {}, | |
"color": { | |
"exponent": 0.5, | |
"fill": "#806eb7", | |
"mode": "opacity", | |
"scale": "exponential", | |
"scheme": "Oranges", | |
"steps": 128 | |
}, | |
"exemplars": { | |
"color": "rgba(255,0,255,0.7)" | |
}, | |
"filterValues": { | |
"le": 1e-9 | |
}, | |
"legend": { | |
"show": true | |
}, | |
"rowsFrame": { | |
"layout": "auto" | |
}, | |
"showValue": "never", | |
"tooltip": { | |
"show": true, | |
"yHistogram": false | |
}, | |
"yAxis": { | |
"axisPlacement": "left", | |
"decimals": 2, | |
"min": "0", | |
"reverse": false, | |
"unit": "ms" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"reverseYBuckets": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance) (rate(ceph_osd_op_r_latency_sum{ceph_daemon='$osd'}[5m]) / rate(ceph_osd_op_r_latency_count{ceph_daemon='$osd'}[5m]) >= 0)", | |
"format": "time_series", | |
"instant": false, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "OSD Read Op Latency Distribution", | |
"tooltip": { | |
"show": true, | |
"showHistogram": false | |
}, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketSize": "", | |
"yAxis": { | |
"decimals": 2, | |
"format": "ms", | |
"logBase": 2, | |
"min": "0", | |
"show": true | |
}, | |
"yBucketBound": "auto" | |
}, | |
{ | |
"cards": {}, | |
"color": { | |
"cardColor": "#f9934e", | |
"colorScale": "sqrt", | |
"colorScheme": "interpolateOranges", | |
"exponent": 0.5, | |
"mode": "opacity" | |
}, | |
"dataFormat": "timeseries", | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 21 | |
}, | |
"heatmap": {}, | |
"hideZeroBuckets": false, | |
"highlightCards": true, | |
"id": 86, | |
"legend": { | |
"show": true | |
}, | |
"links": [], | |
"options": { | |
"calculate": true, | |
"calculation": { | |
"yBuckets": { | |
"mode": "count", | |
"scale": { | |
"log": 2, | |
"type": "log" | |
} | |
} | |
}, | |
"cellGap": 2, | |
"cellValues": {}, | |
"color": { | |
"exponent": 0.5, | |
"fill": "#f9934e", | |
"mode": "opacity", | |
"scale": "exponential", | |
"scheme": "Oranges", | |
"steps": 128 | |
}, | |
"exemplars": { | |
"color": "rgba(255,0,255,0.7)" | |
}, | |
"filterValues": { | |
"le": 1e-9 | |
}, | |
"legend": { | |
"show": true | |
}, | |
"rowsFrame": { | |
"layout": "auto" | |
}, | |
"showValue": "never", | |
"tooltip": { | |
"show": true, | |
"yHistogram": false | |
}, | |
"yAxis": { | |
"axisPlacement": "left", | |
"decimals": 2, | |
"min": "0", | |
"reverse": false, | |
"unit": "ms" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"reverseYBuckets": false, | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance) (rate(ceph_osd_op_w_latency_sum{ceph_daemon='$osd'}[5m]) / rate(ceph_osd_op_w_latency_count{ceph_daemon='$osd'}[5m]) >= 0)", | |
"format": "time_series", | |
"instant": false, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "OSD Write Op Latency Distribution", | |
"tooltip": { | |
"show": true, | |
"showHistogram": false | |
}, | |
"type": "heatmap", | |
"xAxis": { | |
"show": true | |
}, | |
"xBucketSize": "", | |
"yAxis": { | |
"decimals": 2, | |
"format": "ms", | |
"logBase": 2, | |
"min": "0", | |
"show": true | |
}, | |
"yBucketBound": "auto" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "ms" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 0, | |
"y": 29 | |
}, | |
"id": 44, | |
"links": [], | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "table", | |
"placement": "bottom", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "avg without (instance, ceph_daemon) (rate(ceph_osd_op_r_latency_sum{ceph_daemon='$osd'}[5m]) / rate(ceph_osd_op_r_latency_count{ceph_daemon='$osd'}[5m]) >= 0)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "read", | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "avg without (instance, ceph_daemon) (rate(ceph_osd_op_w_latency_sum{ceph_daemon='$osd'}[5m]) / rate(ceph_osd_op_w_latency_count{ceph_daemon='$osd'}[5m]) >= 0)", | |
"format": "time_series", | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "write", | |
"refId": "B" | |
} | |
], | |
"title": "Avg OSD Op Latency", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": false, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "ms" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 12, | |
"x": 12, | |
"y": 29 | |
}, | |
"id": 35, | |
"links": [], | |
"options": { | |
"legend": { | |
"calcs": [ | |
"lastNotNull", | |
"max" | |
], | |
"displayMode": "table", | |
"placement": "bottom", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "avg without (instance, ceph_daemon) (ceph_osd_apply_latency_ms{ceph_daemon='$osd'})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "apply", | |
"metric": "ceph_osd_perf_apply_latency_seconds", | |
"refId": "A", | |
"step": 4 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "avg without (instance, ceph_daemon)(ceph_osd_commit_latency_ms{ceph_daemon='$osd'})", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "commit", | |
"metric": "ceph_osd_perf_commit_latency_seconds", | |
"refId": "B", | |
"step": 4 | |
} | |
], | |
"title": "AVG OSD Apply + Commit Latency", | |
"type": "timeseries" | |
} | |
], | |
"refresh": "5m", | |
"schemaVersion": 36, | |
"style": "dark", | |
"tags": [ | |
"ceph", | |
"osd" | |
], | |
"templating": { | |
"list": [ | |
{ | |
"current": { | |
"selected": false, | |
"text": "Prometheus", | |
"value": "Prometheus" | |
}, | |
"hide": 1, | |
"includeAll": false, | |
"multi": false, | |
"name": "DS_PROMETHEUS", | |
"options": [], | |
"query": "prometheus", | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"type": "datasource" | |
}, | |
{ | |
"auto": true, | |
"auto_count": 10, | |
"auto_min": "1m", | |
"current": { | |
"selected": false, | |
"text": "30s", | |
"value": "30s" | |
}, | |
"datasource": "Prometheus", | |
"hide": 0, | |
"includeAll": false, | |
"label": "Interval", | |
"multi": false, | |
"name": "interval", | |
"options": [ | |
{ | |
"selected": false, | |
"text": "auto", | |
"value": "$__auto_interval_interval" | |
}, | |
{ | |
"selected": false, | |
"text": "10s", | |
"value": "10s" | |
}, | |
{ | |
"selected": true, | |
"text": "30s", | |
"value": "30s" | |
}, | |
{ | |
"selected": false, | |
"text": "1m", | |
"value": "1m" | |
}, | |
{ | |
"selected": false, | |
"text": "10m", | |
"value": "10m" | |
}, | |
{ | |
"selected": false, | |
"text": "30m", | |
"value": "30m" | |
}, | |
{ | |
"selected": false, | |
"text": "1h", | |
"value": "1h" | |
}, | |
{ | |
"selected": false, | |
"text": "6h", | |
"value": "6h" | |
}, | |
{ | |
"selected": false, | |
"text": "12h", | |
"value": "12h" | |
}, | |
{ | |
"selected": false, | |
"text": "1d", | |
"value": "1d" | |
}, | |
{ | |
"selected": false, | |
"text": "7d", | |
"value": "7d" | |
}, | |
{ | |
"selected": false, | |
"text": "14d", | |
"value": "14d" | |
}, | |
{ | |
"selected": false, | |
"text": "30d", | |
"value": "30d" | |
} | |
], | |
"query": "10s,30s,1m,10m,30m,1h,6h,12h,1d,7d,14d,30d", | |
"queryValue": "", | |
"refresh": 2, | |
"skipUrlSync": false, | |
"type": "interval" | |
}, | |
{ | |
"current": {}, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"definition": "label_values(ceph_osd_up, ceph_daemon)", | |
"hide": 0, | |
"includeAll": false, | |
"label": "OSD", | |
"multi": false, | |
"name": "osd", | |
"options": [], | |
"query": { | |
"query": "label_values(ceph_osd_up, ceph_daemon)", | |
"refId": "StandardVariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 0, | |
"tagValuesQuery": "", | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
} | |
] | |
}, | |
"time": { | |
"from": "now-3h", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
], | |
"time_options": [ | |
"5m", | |
"15m", | |
"1h", | |
"6h", | |
"12h", | |
"24h", | |
"2d", | |
"7d", | |
"30d" | |
] | |
}, | |
"timezone": "browser", | |
"title": "Ceph - OSD (Single)", | |
"uid": "Fj5fAfzik", | |
"version": 2, | |
"weekStart": "" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "Prometheus", | |
"description": "", | |
"type": "datasource", | |
"pluginId": "prometheus", | |
"pluginName": "Prometheus" | |
} | |
], | |
"__elements": {}, | |
"__requires": [ | |
{ | |
"type": "panel", | |
"id": "gauge", | |
"name": "Gauge", | |
"version": "" | |
}, | |
{ | |
"type": "grafana", | |
"id": "grafana", | |
"name": "Grafana", | |
"version": "9.0.5" | |
}, | |
{ | |
"type": "datasource", | |
"id": "prometheus", | |
"name": "Prometheus", | |
"version": "1.0.0" | |
}, | |
{ | |
"type": "panel", | |
"id": "timeseries", | |
"name": "Time series", | |
"version": "" | |
} | |
], | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": { | |
"type": "datasource", | |
"uid": "grafana" | |
}, | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"target": { | |
"limit": 100, | |
"matchAny": false, | |
"tags": [], | |
"type": "dashboard" | |
}, | |
"type": "dashboard" | |
} | |
] | |
}, | |
"description": "Ceph Pools dashboard.", | |
"editable": false, | |
"fiscalYearStartMonth": 0, | |
"gnetId": 5342, | |
"graphTooltip": 0, | |
"id": null, | |
"links": [], | |
"liveNow": false, | |
"panels": [ | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 11, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "Pool: $pool", | |
"type": "row" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 30, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"mappings": [], | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "bytes" | |
}, | |
"overrides": [ | |
{ | |
"matcher": { | |
"id": "byRegexp", | |
"options": "/^Total.*$/" | |
}, | |
"properties": [ | |
{ | |
"id": "custom.fillOpacity", | |
"value": 0 | |
}, | |
{ | |
"id": "custom.lineWidth", | |
"value": 4 | |
}, | |
{ | |
"id": "custom.stacking", | |
"value": { | |
"group": false, | |
"mode": "normal" | |
} | |
} | |
] | |
}, | |
{ | |
"matcher": { | |
"id": "byRegexp", | |
"options": "/^Raw.*$/" | |
}, | |
"properties": [ | |
{ | |
"id": "color", | |
"value": { | |
"fixedColor": "#BF1B00", | |
"mode": "fixed" | |
} | |
}, | |
{ | |
"id": "custom.fillOpacity", | |
"value": 0 | |
}, | |
{ | |
"id": "custom.lineWidth", | |
"value": 4 | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 20, | |
"x": 0, | |
"y": 1 | |
}, | |
"id": 2, | |
"interval": "$interval", | |
"links": [], | |
"options": { | |
"legend": { | |
"calcs": [ | |
"mean", | |
"lastNotNull", | |
"max", | |
"min" | |
], | |
"displayMode": "table", | |
"placement": "right", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum((ceph_pool_max_avail) *on (pool_id) group_left(name)(ceph_pool_metadata{name=~\"^$pool$\"})) by (name)", | |
"format": "time_series", | |
"hide": false, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Available - {{ name }}", | |
"metric": "ceph_pool_available_bytes", | |
"refId": "A", | |
"step": 60 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum((ceph_pool_stored) *on (pool_id) group_left(name)(ceph_pool_metadata{name=~\"^$pool$\"})) by (name)", | |
"format": "time_series", | |
"hide": false, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Stored - {{ name }}", | |
"metric": "ceph_pool", | |
"refId": "B", | |
"step": 60 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum((ceph_pool_stored + ceph_pool_max_avail) *on (pool_id) group_left(name)(ceph_pool_metadata{name=~\"^$pool$\"})) by (name)", | |
"format": "time_series", | |
"hide": true, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Total - {{ name }}", | |
"metric": "ceph_pool", | |
"refId": "C", | |
"step": 60 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum((ceph_pool_stored_raw) *on (pool_id) group_left(name)(ceph_pool_metadata{name=~\"^$pool$\"})) by (name)", | |
"format": "time_series", | |
"hide": false, | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Raw - {{ name }}", | |
"metric": "ceph_pool", | |
"refId": "D", | |
"step": 60 | |
} | |
], | |
"title": "Pool Storage", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"decimals": 2, | |
"mappings": [ | |
{ | |
"options": { | |
"match": "null", | |
"result": { | |
"text": "N/A" | |
} | |
}, | |
"type": "special" | |
} | |
], | |
"max": 1, | |
"min": 0, | |
"thresholds": { | |
"mode": "percentage", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "yellow", | |
"value": 75 | |
}, | |
{ | |
"color": "red", | |
"value": 90 | |
} | |
] | |
}, | |
"unit": "percentunit" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 4, | |
"x": 20, | |
"y": 1 | |
}, | |
"id": 10, | |
"links": [], | |
"maxDataPoints": 100, | |
"options": { | |
"orientation": "horizontal", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"showThresholdLabels": false, | |
"showThresholdMarkers": true | |
}, | |
"pluginVersion": "9.0.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum without (instance, pool_id, name) ((ceph_pool_stored / (ceph_pool_stored + ceph_pool_max_avail)) *on (pool_id) group_left(name)(ceph_pool_metadata{name=~\"^$pool$\"}))", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "", | |
"refId": "A", | |
"step": 60 | |
} | |
], | |
"title": "Usage", | |
"type": "gauge" | |
}, | |
{ | |
"collapsed": false, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 8 | |
}, | |
"id": 12, | |
"panels": [], | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"refId": "A" | |
} | |
], | |
"title": "Pool Info", | |
"type": "row" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 2, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true, | |
"stacking": { | |
"group": "A", | |
"mode": "none" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"mappings": [], | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 9 | |
}, | |
"id": 7, | |
"links": [], | |
"options": { | |
"legend": { | |
"calcs": [ | |
"mean", | |
"lastNotNull", | |
"max" | |
], | |
"displayMode": "table", | |
"placement": "bottom", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum((ceph_pool_objects) *on (pool_id) group_left(name)(ceph_pool_metadata{name=~\"^$pool$\"})) by (name)", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Objects - {{ name }}", | |
"refId": "A", | |
"step": 60 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum((ceph_pool_dirty) *on (pool_id) group_left(name)(ceph_pool_metadata{name=~\"^$pool$\"})) by (name)", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Dirty Objects - {{ name }}", | |
"refId": "B", | |
"step": 60 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum((ceph_pool_quota_objects) *on (pool_id) group_left(name)(ceph_pool_metadata{name=~\"^$pool$\"})) by (name)", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Quota Objects - {{ name }}", | |
"refId": "C" | |
} | |
], | |
"title": "Objects in Pool", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "IOPS", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 2, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true, | |
"stacking": { | |
"group": "A", | |
"mode": "normal" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"mappings": [], | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "none" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 9 | |
}, | |
"id": 4, | |
"interval": "$interval", | |
"links": [], | |
"options": { | |
"legend": { | |
"calcs": [ | |
"mean", | |
"lastNotNull", | |
"max", | |
"min" | |
], | |
"displayMode": "table", | |
"placement": "bottom", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum((irate(ceph_pool_rd[3m])) *on (pool_id) group_left(name)(ceph_pool_metadata{name=~\"^$pool$\"})) by (name)", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Read - {{ name }}", | |
"refId": "B", | |
"step": 60 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum((irate(ceph_pool_wr[3m])) *on (pool_id) group_left(name)(ceph_pool_metadata{name=~\"^$pool$\"})) by (name)", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Write - {{ name }}", | |
"refId": "A", | |
"step": 60 | |
} | |
], | |
"title": "IOPS", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 2, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true, | |
"stacking": { | |
"group": "A", | |
"mode": "normal" | |
}, | |
"thresholdsStyle": { | |
"mode": "off" | |
} | |
}, | |
"mappings": [], | |
"min": 0, | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "Bps" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 7, | |
"w": 24, | |
"x": 0, | |
"y": 17 | |
}, | |
"id": 5, | |
"interval": "$interval", | |
"links": [], | |
"options": { | |
"legend": { | |
"calcs": [ | |
"mean", | |
"lastNotNull", | |
"max", | |
"min" | |
], | |
"displayMode": "table", | |
"placement": "bottom", | |
"showLegend": true | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "none" | |
} | |
}, | |
"pluginVersion": "9.1.3", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum((irate(ceph_pool_rd_bytes[5m])) *on (pool_id) group_left(name)(ceph_pool_metadata{name=~\"^$pool$\"})) by (name)", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Read Bytes - {{ name }}", | |
"refId": "A", | |
"step": 60 | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"expr": "sum((irate(ceph_pool_wr_bytes[5m])) *on (pool_id) group_left(name)(ceph_pool_metadata{name=~\"^$pool$\"})) by (name)", | |
"format": "time_series", | |
"interval": "$interval", | |
"intervalFactor": 1, | |
"legendFormat": "Written Bytes - {{ name }}", | |
"refId": "B", | |
"step": 60 | |
} | |
], | |
"title": "Throughput", | |
"type": "timeseries" | |
} | |
], | |
"refresh": "1m", | |
"schemaVersion": 36, | |
"style": "dark", | |
"tags": [ | |
"ceph", | |
"pools" | |
], | |
"templating": { | |
"list": [ | |
{ | |
"current": { | |
"selected": false, | |
"text": "Prometheus", | |
"value": "Prometheus" | |
}, | |
"hide": 1, | |
"includeAll": false, | |
"multi": false, | |
"name": "DS_PROMETHEUS", | |
"options": [], | |
"query": "prometheus", | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"type": "datasource" | |
}, | |
{ | |
"auto": true, | |
"auto_count": 10, | |
"auto_min": "1m", | |
"current": { | |
"selected": false, | |
"text": "30s", | |
"value": "30s" | |
}, | |
"datasource": "Prometheus", | |
"hide": 0, | |
"includeAll": false, | |
"label": "Interval", | |
"multi": false, | |
"name": "interval", | |
"options": [ | |
{ | |
"selected": false, | |
"text": "auto", | |
"value": "$__auto_interval_interval" | |
}, | |
{ | |
"selected": false, | |
"text": "10s", | |
"value": "10s" | |
}, | |
{ | |
"selected": true, | |
"text": "30s", | |
"value": "30s" | |
}, | |
{ | |
"selected": false, | |
"text": "1m", | |
"value": "1m" | |
}, | |
{ | |
"selected": false, | |
"text": "10m", | |
"value": "10m" | |
}, | |
{ | |
"selected": false, | |
"text": "30m", | |
"value": "30m" | |
}, | |
{ | |
"selected": false, | |
"text": "1h", | |
"value": "1h" | |
}, | |
{ | |
"selected": false, | |
"text": "6h", | |
"value": "6h" | |
}, | |
{ | |
"selected": false, | |
"text": "12h", | |
"value": "12h" | |
}, | |
{ | |
"selected": false, | |
"text": "1d", | |
"value": "1d" | |
}, | |
{ | |
"selected": false, | |
"text": "7d", | |
"value": "7d" | |
}, | |
{ | |
"selected": false, | |
"text": "14d", | |
"value": "14d" | |
}, | |
{ | |
"selected": false, | |
"text": "30d", | |
"value": "30d" | |
} | |
], | |
"query": "10s,30s,1m,10m,30m,1h,6h,12h,1d,7d,14d,30d", | |
"queryValue": "", | |
"refresh": 2, | |
"skipUrlSync": false, | |
"type": "interval" | |
}, | |
{ | |
"allValue": ".*", | |
"current": {}, | |
"datasource": { | |
"type": "prometheus", | |
"uid": "${DS_PROMETHEUS}" | |
}, | |
"definition": "label_values(ceph_pool_metadata, name)", | |
"hide": 0, | |
"includeAll": true, | |
"label": "Pool", | |
"multi": true, | |
"name": "pool", | |
"options": [], | |
"query": { | |
"query": "label_values(ceph_pool_metadata, name)", | |
"refId": "Prometheus-pool-Variable-Query" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 3, | |
"tagValuesQuery": "", | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
} | |
] | |
}, | |
"time": { | |
"from": "now-3h", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"5s", | |
"10s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
], | |
"time_options": [ | |
"5m", | |
"15m", | |
"1h", | |
"6h", | |
"12h", | |
"24h", | |
"2d", | |
"7d", | |
"30d" | |
] | |
}, | |
"timezone": "browser", | |
"title": "Ceph - Pools", | |
"uid": "-gtf0Bzik", | |
"version": 2, | |
"weekStart": "" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment