{%- raw %} { "annotations": { "list": [] }, "description": "CEPH OSD Status.", "editable": true, "gnetId": null, "graphTooltip": 0, "hideControls": false, "id": null, "links": [], "refresh": "1m", "rows": [ { "collapse": false, "height": "100px", "panels": [ { "cacheTimeout": null, "colorBackground": true, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 40, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "prometheus", "editable": true, "error": false, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "id": 6, "interval": null, "links": [], "mappingType": 2, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" }, { "from": "0", "text": "DOWN", "to": "0.99" }, { "from": "0.99", "text": "UP", "to": "1" } ], "span": 1, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false }, "tableColumn": "", "targets": [ { "expr": "min(ceph_osdmap_num_up_osds{environment=\"$environment\"}) without (instance)", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "", "refId": "A", "step": 60 } ], "thresholds": "0,1", "timeFrom": null, "title": "Status", "transparent": false, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "DOWN", "value": "0" }, { "op": "=", "text": "UP", "value": "1" }, { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": true, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 40, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "prometheus", "editable": true, "error": false, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "id": 8, "interval": null, "links": [], "mappingType": 2, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" }, { "from": "0", "text": "OUT", "to": "0.99" }, { "from": "0.99", "text": "IN", "to": "1" } ], "span": 1, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false }, "tableColumn": "", "targets": [ { "expr": "min(ceph_osdmap_num_in_osds{environment=\"$environment\"}) without (instance)", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "", "refId": "A", "step": 60 } ], "thresholds": "0,1", "timeFrom": null, "title": "Available", "transparent": false, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "DOWN", "value": "0" }, { "op": "=", "text": "UP", "value": "1" }, { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "datasource": "prometheus", "editable": true, "error": false, "format": "none", "gauge": { "maxValue": 100, "minValue": 0, "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "id": 10, "interval": null, "links": [], "mappingType": 2, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "span": 1, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false }, "tableColumn": "", "targets": [ { "expr": "min(ceph_osdmap_num_osds{environment=\"$environment\"}) without (instance)", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "", "refId": "A", "step": 60 } ], "thresholds": "0,1", "timeFrom": null, "title": "Total OSDs", "transparent": false, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "DOWN", "value": "0" }, { "op": "=", "text": "UP", "value": "1" }, { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "New row", "titleSize": "h6" }, { "collapse": false, "height": 248, "panels": [ { "cacheTimeout": null, "colorBackground": false, "colorValue": true, "colors": [ "rgba(50, 172, 45, 0.97)", "rgba(237, 129, 40, 0.89)", "rgba(245, 54, 54, 0.9)" ], "datasource": "prometheus", "editable": true, "error": false, "format": "percentunit", "gauge": { "maxValue": 1, "minValue": 0, "show": true, "thresholdLabels": false, "thresholdMarkers": true }, "id": 7, "interval": null, "links": [], "mappingType": 1, "mappingTypes": [ { "name": "value to text", "value": 1 }, { "name": "range to text", "value": 2 } ], "maxDataPoints": 100, "nullPointMode": "connected", "nullText": null, "postfix": "", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", "rangeMaps": [ { "from": "null", "text": "N/A", "to": "null" } ], "span": 2, "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false }, "tableColumn": "", "targets": [ { "expr": "avg(ceph_osd_bytes_used{environment=\"$environment\"})/avg(ceph_osd_bytes)", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "", "refId": "A", "step": 60 } ], "thresholds": "0.6,0.8", "timeFrom": null, "title": "Utilization", "transparent": false, "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ { "op": "=", "text": "N/A", "value": "null" } ], "valueName": "current" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "prometheus", "decimals": 2, "editable": true, "error": false, "fill": 1, "grid": {}, "id": 5, "interval": "$interval", "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "/^Average.*/", "fill": 0, "stack": false } ], "spaceLength": 10, "span": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "ceph_num_pg{environment=\"$environment\"}", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Number of PGs - {{ host }}", "refId": "A", "step": 60 }, { "expr": "avg(ceph_num_pg{environment=\"$environment\"})", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Average Number of PGs in the Cluster", "refId": "B", "step": 60 } ], "thresholds": [ { "colorMode": "custom", "line": true, "lineColor": "rgba(216, 200, 27, 0.27)", "op": "gt", "value": 250 }, { "colorMode": "custom", "line": true, "lineColor": "rgba(234, 112, 112, 0.22)", "op": "gt", "value": 300 } ], "timeFrom": null, "timeShift": null, "title": "PGs", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "short", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": 0, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": true, "title": "OSD", "titleSize": "h6" }, { "collapse": false, "height": 255, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "prometheus", "decimals": 2, "editable": true, "error": false, "fill": 1, "grid": {}, "id": 4, "interval": "$interval", "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "expr": "avg(rate(ceph_apply_latency_avgcount{environment=\"$environment\"}[5m]))", "format": "time_series", "hide": false, "interval": "$interval", "intervalFactor": 1, "legendFormat": "Apply Latency", "metric": "ceph_apply_latency_avgcount", "refId": "A", "step": 60 }, { "expr": "avg(rate(ceph_commit_latency_avgcount{environment=\"$environment\"}[5m]))", "format": "time_series", "hide": false, "interval": "", "intervalFactor": 1, "legendFormat": "Commit Latency", "refId": "B", "step": 60 }, { "expr": "avg(rate(ceph_apply_latency_avgcount{environment=\"$environment\"}[5m])) + avg(rate(ceph_commit_latency_avgcount[5m]))", "format": "time_series", "hide": false, "intervalFactor": 2, "legendFormat": "Write Latency", "refId": "C", "step": 120 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "Latency", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "µs", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "ms", "label": null, "logBase": 1, "max": null, "min": 0, "show": false } ] }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "prometheus", "decimals": 2, "editable": true, "error": false, "fill": 1, "grid": {}, "id": 2, "interval": "$interval", "legend": { "alignAsTable": true, "avg": true, "current": true, "max": true, "min": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 6, "stack": false, "steppedLine": false, "targets": [ { "expr": "avg(ceph_osd_bytes_avail{environment=\"$environment\"})", "format": "time_series", "hide": false, "interval": "$interval", "intervalFactor": 1, "legendFormat": "Available", "metric": "ceph_osd_avail_bytes", "refId": "A", "step": 60 }, { "expr": "avg(ceph_osd_bytes_used{environment=\"$environment\"})", "format": "time_series", "interval": "$interval", "intervalFactor": 1, "legendFormat": "Used", "metric": "ceph_osd_avail_bytes", "refId": "B", "step": 60 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "OSD Capacity", "tooltip": { "msResolution": false, "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "bytes", "label": null, "logBase": 1, "max": null, "min": 0, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": 0, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "New row", "titleSize": "h6" }, { "collapse": false, "height": 250, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "prometheus", "fill": 1, "id": 11, "legend": { "avg": false, "current": false, "max": false, "min": false, "show": true, "total": false, "values": false }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null", "percentage": false, "pointradius": 5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "span": 12, "stack": false, "steppedLine": false, "targets": [ { "expr": "avg(ceph_osdop_read{environment=\"$environment\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "read", "refId": "A", "step": 4 }, { "expr": "avg(ceph_osdop_write{environment=\"$environment\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "write", "refId": "B", "step": 4 }, { "expr": "avg(ceph_osdop_append{environment=\"$environment\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "append", "refId": "C", "step": 4 }, { "expr": "avg(ceph_osdop_delete{environment=\"$environment\"})", "format": "time_series", "intervalFactor": 2, "legendFormat": "delete", "refId": "D", "step": 4 } ], "thresholds": [], "timeFrom": null, "timeShift": null, "title": "OSD ops", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "format": "ops", "label": null, "logBase": 1, "max": null, "min": "0", "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true } ] } ], "repeat": null, "repeatIteration": null, "repeatRowId": null, "showTitle": false, "title": "Dashboard Row", "titleSize": "h6" } ], "schemaVersion": 14, "style": "dark", "tags": [ "ceph", "osd" ], "templating": { "list": [ { "allValue": null, "current": null, "datasource": "prometheus", "hide": 0, "includeAll": false, "label": null, "multi": false, "name": "environment", "options": [], "query": "label_values(environment)", "refresh": 1, "regex": "", "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "auto": false, "auto_count": 30, "auto_min": "10s", "current": { "text": "1m", "value": "1m" }, "hide": 2, "label": null, "name": "interval", "options": [ { "selected": true, "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": "1m,10m,30m,1h,6h,12h,1d,7d,14d,30d", "refresh": 2, "type": "interval" } ] }, "time": { "from": "now-1h", "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", "version": 33 } {%- endraw %}