mirror of https://github.com/ceph/ceph
1448 lines
34 KiB
JSON
1448 lines
34 KiB
JSON
{
|
|
"__requires": [
|
|
{
|
|
"type": "grafana",
|
|
"id": "grafana",
|
|
"name": "Grafana",
|
|
"version": "5.0.0"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "graph",
|
|
"name": "Graph",
|
|
"version": "5.0.0"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "heatmap",
|
|
"name": "Heatmap",
|
|
"version": "5.0.0"
|
|
},
|
|
{
|
|
"type": "panel",
|
|
"id": "singlestat",
|
|
"name": "Singlestat",
|
|
"version": "5.0.0"
|
|
}
|
|
],
|
|
"annotations": {
|
|
"list": []
|
|
},
|
|
"description": "Ceph cluster overview",
|
|
"editable": false,
|
|
"gnetId": null,
|
|
"graphTooltip": 0,
|
|
"hideControls": false,
|
|
"id": null,
|
|
"iteration": 1525415495309,
|
|
"links": [
|
|
{
|
|
"asDropdown": true,
|
|
"icon": "external link",
|
|
"includeVars": true,
|
|
"keepTime": true,
|
|
"tags": [],
|
|
"targetBlank": false,
|
|
"title": "Browse Dashboards",
|
|
"tooltip": "",
|
|
"type": "dashboards",
|
|
"url": ""
|
|
}
|
|
],
|
|
"panels": [
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": true,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"rgba(50, 128, 45, 0.9)",
|
|
"rgba(237, 129, 40, 0.9)",
|
|
"rgb(255, 0, 0)"
|
|
],
|
|
"datasource": "$datasource",
|
|
"editable": false,
|
|
"error": false,
|
|
"format": "none",
|
|
"gauge": {
|
|
"maxValue": 100,
|
|
"minValue": 0,
|
|
"show": false,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"hideTimeOverride": true,
|
|
"id": 21,
|
|
"interval": "1m",
|
|
"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": "ceph_health_status{cluster=~'$cluster'}",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"interval": "$interval",
|
|
"intervalFactor": 1,
|
|
"refId": "A",
|
|
"step": 60
|
|
}
|
|
],
|
|
"thresholds": "1,2",
|
|
"timeFrom": null,
|
|
"title": "Health Status",
|
|
"transparent": false,
|
|
"type": "singlestat",
|
|
"valueFontSize": "50%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "OK",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "WARN",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"op": "=",
|
|
"text": "ERR",
|
|
"value": "2"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"colorMode": "Panel",
|
|
"colors": {
|
|
"crit": "rgb(255, 0, 0)",
|
|
"disable": "rgba(128, 128, 128, 0.9)",
|
|
"ok": "rgba(50, 128, 45, 0.9)",
|
|
"warn": "rgba(237, 129, 40, 0.9)"
|
|
},
|
|
"cornerRadius": 0,
|
|
"datasource": "$datasource",
|
|
"displayName": "",
|
|
"flipCard": false,
|
|
"flipTime": 5,
|
|
"fontFormat": "Regular",
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 6,
|
|
"x": 6,
|
|
"y": 0
|
|
},
|
|
"id": 43,
|
|
"isAutoScrollOnOverflow": false,
|
|
"isGrayOnNoData": false,
|
|
"isHideAlertsOnDisable": false,
|
|
"isIgnoreOKColors": false,
|
|
"links": [],
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"aggregation": "Last",
|
|
"alias": "All",
|
|
"decimals": 2,
|
|
"displayAliasType": "Always",
|
|
"displayType": "Regular",
|
|
"displayValueWithAlias": "When Alias Displayed",
|
|
"expr": "count(ceph_osd_metadata{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "All",
|
|
"refId": "A",
|
|
"units": "none",
|
|
"valueHandler": "Number Threshold"
|
|
},
|
|
{
|
|
"aggregation": "Last",
|
|
"alias": "In",
|
|
"decimals": 2,
|
|
"displayAliasType": "Always",
|
|
"displayType": "Regular",
|
|
"displayValueWithAlias": "When Alias Displayed",
|
|
"expr": "sum(ceph_osd_in{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "In",
|
|
"refId": "B",
|
|
"units": "none",
|
|
"valueHandler": "Number Threshold"
|
|
},
|
|
{
|
|
"aggregation": "Last",
|
|
"alias": "Out",
|
|
"decimals": 2,
|
|
"displayAliasType": "Warning / Critical",
|
|
"displayType": "Regular",
|
|
"displayValueWithAlias": "When Alias Displayed",
|
|
"expr": "sum(ceph_osd_in{cluster=~'$cluster'} == bool 0)",
|
|
"format": "time_series",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Out",
|
|
"refId": "C",
|
|
"units": "none",
|
|
"valueHandler": "Number Threshold",
|
|
"warn": 1
|
|
},
|
|
{
|
|
"aggregation": "Last",
|
|
"alias": "Up",
|
|
"decimals": 2,
|
|
"displayAliasType": "Always",
|
|
"displayType": "Regular",
|
|
"displayValueWithAlias": "When Alias Displayed",
|
|
"expr": "sum(ceph_osd_up{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Up",
|
|
"refId": "D",
|
|
"units": "none",
|
|
"valueHandler": "Number Threshold"
|
|
},
|
|
{
|
|
"aggregation": "Last",
|
|
"alias": "Down",
|
|
"crit": 2,
|
|
"decimals": 2,
|
|
"displayAliasType": "Warning / Critical",
|
|
"displayType": "Regular",
|
|
"displayValueWithAlias": "When Alias Displayed",
|
|
"expr": "sum(ceph_osd_up{cluster=~'$cluster'} == bool 0)",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Down",
|
|
"refId": "E",
|
|
"units": "none",
|
|
"valueHandler": "Number Threshold",
|
|
"warn": 1
|
|
}
|
|
],
|
|
"title": "OSDs",
|
|
"type": "stat",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"mappings": [],
|
|
"thresholds": {
|
|
"mode": "percentage",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "All"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "color",
|
|
"value": {
|
|
"mode": "fixed"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Out"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "percentage",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 0.1
|
|
},
|
|
{
|
|
"value": 10,
|
|
"color": "red"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"matcher": {
|
|
"id": "byName",
|
|
"options": "Down"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "thresholds",
|
|
"value": {
|
|
"mode": "percentage",
|
|
"steps": [
|
|
{
|
|
"color": "green",
|
|
"value": null
|
|
},
|
|
{
|
|
"color": "orange",
|
|
"value": 0.1
|
|
},
|
|
{
|
|
"value": 10,
|
|
"color": "red"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"clusterName": "",
|
|
"colorMode": "Panel",
|
|
"colors": {
|
|
"crit": "rgba(245, 54, 54, 0.9)",
|
|
"disable": "rgba(128, 128, 128, 0.9)",
|
|
"ok": "rgba(50, 128, 45, 0.9)",
|
|
"warn": "rgba(237, 129, 40, 0.9)"
|
|
},
|
|
"cornerRadius": 1,
|
|
"datasource": "$datasource",
|
|
"displayName": "",
|
|
"flipCard": false,
|
|
"flipTime": 5,
|
|
"fontFormat": "Regular",
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 6,
|
|
"x": 12,
|
|
"y": 0
|
|
},
|
|
"id": 41,
|
|
"isAutoScrollOnOverflow": false,
|
|
"isGrayOnNoData": false,
|
|
"isHideAlertsOnDisable": false,
|
|
"isIgnoreOKColors": false,
|
|
"links": [],
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"aggregation": "Last",
|
|
"alias": "In Quorum",
|
|
"decimals": 2,
|
|
"displayAliasType": "Always",
|
|
"displayType": "Regular",
|
|
"displayValueWithAlias": "When Alias Displayed",
|
|
"expr": "sum(ceph_mon_quorum_status{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"interval": "",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "In Quorum",
|
|
"refId": "A",
|
|
"units": "none",
|
|
"valueHandler": "Text Only"
|
|
},
|
|
{
|
|
"aggregation": "Last",
|
|
"alias": "Total",
|
|
"crit": 1,
|
|
"decimals": 2,
|
|
"displayAliasType": "Always",
|
|
"displayType": "Regular",
|
|
"displayValueWithAlias": "When Alias Displayed",
|
|
"expr": "count(ceph_mon_quorum_status{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Total",
|
|
"refId": "B",
|
|
"units": "none",
|
|
"valueHandler": "Text Only",
|
|
"warn": 2
|
|
},
|
|
{
|
|
"aggregation": "Last",
|
|
"alias": "MONs out of Quorum",
|
|
"crit": 1.6,
|
|
"decimals": 2,
|
|
"displayAliasType": "Warning / Critical",
|
|
"displayType": "Annotation",
|
|
"displayValueWithAlias": "Never",
|
|
"expr": "count(ceph_mon_quorum_status{cluster=~'$cluster'}) - sum(ceph_mon_quorum_status{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "MONs out of Quorum",
|
|
"refId": "C",
|
|
"units": "none",
|
|
"valueHandler": "Number Threshold",
|
|
"warn": 1.1
|
|
}
|
|
],
|
|
"title": "Monitors",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"colorMode": "Panel",
|
|
"colors": {
|
|
"crit": "rgba(245, 54, 54, 0.9)",
|
|
"disable": "rgba(128, 128, 128, 0.9)",
|
|
"ok": "rgba(50, 128, 45, 0.9)",
|
|
"warn": "rgba(237, 129, 40, 0.9)"
|
|
},
|
|
"cornerRadius": 1,
|
|
"datasource": "$datasource",
|
|
"displayName": "",
|
|
"flipCard": false,
|
|
"flipTime": 5,
|
|
"fontFormat": "Regular",
|
|
"gridPos": {
|
|
"h": 3,
|
|
"w": 6,
|
|
"x": 18,
|
|
"y": 0
|
|
},
|
|
"id": 68,
|
|
"isAutoScrollOnOverflow": false,
|
|
"isGrayOnNoData": false,
|
|
"isHideAlertsOnDisable": false,
|
|
"isIgnoreOKColors": false,
|
|
"links": [],
|
|
"options": {
|
|
"colorMode": "background",
|
|
"graphMode": "none",
|
|
"justifyMode": "auto",
|
|
"orientation": "auto",
|
|
"reduceOptions": {
|
|
"calcs": [
|
|
"lastNotNull"
|
|
],
|
|
"fields": "",
|
|
"values": false
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"aggregation": "Last",
|
|
"alias": "Active",
|
|
"decimals": 2,
|
|
"displayAliasType": "Always",
|
|
"displayType": "Regular",
|
|
"displayValueWithAlias": "When Alias Displayed",
|
|
"expr": "count(ceph_mgr_status{cluster=~'$cluster'} == 1) or vector(0)",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"instant": true,
|
|
"legendFormat": "Active",
|
|
"refId": "A",
|
|
"units": "none",
|
|
"valueHandler": "Number Threshold"
|
|
},
|
|
{
|
|
"aggregation": "Last",
|
|
"alias": "Standby",
|
|
"decimals": 2,
|
|
"displayAliasType": "Always",
|
|
"displayType": "Regular",
|
|
"displayValueWithAlias": "When Alias Displayed",
|
|
"expr": "count(ceph_mgr_status{cluster=~'$cluster'} == 0) or vector(0)",
|
|
"format": "time_series",
|
|
"instant": true,
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Standby",
|
|
"refId": "B",
|
|
"units": "none",
|
|
"valueHandler": "Number Threshold"
|
|
}
|
|
],
|
|
"title": "MGRs",
|
|
"type": "stat"
|
|
},
|
|
{
|
|
"cacheTimeout": null,
|
|
"colorBackground": false,
|
|
"colorValue": false,
|
|
"colors": [
|
|
"#299c46",
|
|
"rgba(237, 129, 40, 0.89)",
|
|
"#d44a3a"
|
|
],
|
|
"datasource": "$datasource",
|
|
"decimals": 2,
|
|
"format": "percentunit",
|
|
"gauge": {
|
|
"maxValue": 1,
|
|
"minValue": 0,
|
|
"show": true,
|
|
"thresholdLabels": false,
|
|
"thresholdMarkers": true
|
|
},
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 6
|
|
},
|
|
"id": 47,
|
|
"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"
|
|
}
|
|
],
|
|
"sparkline": {
|
|
"fillColor": "rgba(31, 118, 189, 0.18)",
|
|
"full": false,
|
|
"lineColor": "rgb(31, 120, 193)",
|
|
"show": true
|
|
},
|
|
"tableColumn": "",
|
|
"targets": [
|
|
{
|
|
"expr": "sum(ceph_osd_stat_bytes_used{cluster=~'$cluster'})/sum(ceph_osd_stat_bytes{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Used",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": "0.7,0.8",
|
|
"title": "Capacity used",
|
|
"type": "singlestat",
|
|
"valueFontSize": "80%",
|
|
"valueMaps": [
|
|
{
|
|
"op": "=",
|
|
"text": "N/A",
|
|
"value": "null"
|
|
}
|
|
],
|
|
"valueName": "current"
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$datasource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"fillOpacity": 8,
|
|
"showPoints": "never"
|
|
},
|
|
"unit": "short"
|
|
}
|
|
},
|
|
"fill": 0,
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 9,
|
|
"x": 6,
|
|
"y": 6
|
|
},
|
|
"id": 53,
|
|
"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": [
|
|
{
|
|
"alias": "Active",
|
|
"color": "#508642",
|
|
"fill": 1,
|
|
"stack": "A"
|
|
},
|
|
{
|
|
"alias": "Total",
|
|
"color": "#f9e2d2"
|
|
},
|
|
{
|
|
"alias": "Degraded",
|
|
"color": "#eab839"
|
|
},
|
|
{
|
|
"alias": "Undersized",
|
|
"color": "#f9934e"
|
|
},
|
|
{
|
|
"alias": "Inconsistent",
|
|
"color": "#e24d42"
|
|
},
|
|
{
|
|
"alias": "Down",
|
|
"color": "#bf1b00"
|
|
},
|
|
{
|
|
"alias": "Inactive",
|
|
"color": "#bf1b00",
|
|
"fill": 4,
|
|
"linewidth": 0,
|
|
"stack": "A"
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "sum(ceph_pg_total{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Total",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"expr": "sum(ceph_pg_active{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Active",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"expr": "sum(ceph_pg_total{cluster=~'$cluster'} - ceph_pg_active{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Inactive",
|
|
"refId": "G"
|
|
},
|
|
{
|
|
"expr": "sum(ceph_pg_undersized{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Undersized",
|
|
"refId": "F"
|
|
},
|
|
{
|
|
"expr": "sum(ceph_pg_degraded{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Degraded",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"expr": "sum(ceph_pg_inconsistent{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Inconsistent",
|
|
"refId": "D"
|
|
},
|
|
{
|
|
"expr": "sum(ceph_pg_down{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Down",
|
|
"refId": "E"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "PG States",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "timeseries",
|
|
"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": null,
|
|
"show": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$datasource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"fillOpacity": 8,
|
|
"showPoints": "never"
|
|
},
|
|
"unit": "ms"
|
|
}
|
|
},
|
|
"fill": 0,
|
|
"gridPos": {
|
|
"h": 6,
|
|
"w": 9,
|
|
"x": 15,
|
|
"y": 6
|
|
},
|
|
"id": 66,
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": false,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [
|
|
{
|
|
"alias": "Avg Apply Latency",
|
|
"color": "#7eb26d"
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "quantile(0.95, ceph_osd_apply_latency_ms{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Apply Latency P_95",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"expr": "quantile(0.95, ceph_osd_commit_latency_ms{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Commit Latency P_95",
|
|
"refId": "B"
|
|
},
|
|
{
|
|
"expr": "avg(ceph_osd_apply_latency_ms{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Avg Apply Latency",
|
|
"refId": "C"
|
|
},
|
|
{
|
|
"expr": "avg(ceph_osd_commit_latency_ms{cluster=~'$cluster'})",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Avg Commit Latency",
|
|
"refId": "D"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "OSD Latencies",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "timeseries",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "ms",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$datasource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"fillOpacity": 8,
|
|
"showPoints": "never"
|
|
},
|
|
"unit": "Bps"
|
|
}
|
|
},
|
|
"fill": 1,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 0,
|
|
"y": 9
|
|
},
|
|
"id": 45,
|
|
"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": 0.5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [
|
|
{
|
|
"alias": "Reads",
|
|
"transform": "negative-Y"
|
|
}
|
|
],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "sum(irate(ceph_osd_op_w_in_bytes{cluster=~'$cluster'}[1m]))",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Writes",
|
|
"refId": "A"
|
|
},
|
|
{
|
|
"expr": "sum(irate(ceph_osd_op_r_out_bytes{cluster=~'$cluster'}[1m]))",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Reads",
|
|
"refId": "B"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Cluster I/O",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "timeseries",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "Bps",
|
|
"label": "Read (-) / Write (+)",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$datasource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"fillOpacity": 8,
|
|
"showPoints": "never"
|
|
},
|
|
"unit": "Bps"
|
|
}
|
|
},
|
|
"fill": 1,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 9
|
|
},
|
|
"id": 62,
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": false,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "sum(deriv(ceph_pool_stored{cluster=~'$cluster'}[1m]))",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "In-/Egress",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "timeseries",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "Bps",
|
|
"label": " Egress (-) / Ingress (+)",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"cards": {
|
|
"cardPadding": null,
|
|
"cardRound": 1
|
|
},
|
|
"color": {
|
|
"cardColor": "rgb(0, 254, 255)",
|
|
"colorScale": "sqrt",
|
|
"colorScheme": "interpolateBlues",
|
|
"exponent": 0.5,
|
|
"min": null,
|
|
"mode": "spectrum"
|
|
},
|
|
"dataFormat": "timeseries",
|
|
"datasource": "$datasource",
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 6,
|
|
"x": 0,
|
|
"y": 15
|
|
},
|
|
"heatmap": {},
|
|
"highlightCards": true,
|
|
"id": 55,
|
|
"legend": {
|
|
"show": true
|
|
},
|
|
"links": [],
|
|
"span": 12,
|
|
"targets": [
|
|
{
|
|
"expr": "ceph_osd_stat_bytes_used{cluster=~'$cluster'} / ceph_osd_stat_bytes{cluster=~'$cluster'}",
|
|
"format": "time_series",
|
|
"interval": "1m",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Util (%)",
|
|
"refId": "A",
|
|
"step": 60
|
|
}
|
|
],
|
|
"timeFrom": null,
|
|
"title": "OSD Capacity Utilization",
|
|
"tooltip": {
|
|
"show": true,
|
|
"showHistogram": false
|
|
},
|
|
"type": "heatmap",
|
|
"xAxis": {
|
|
"show": true
|
|
},
|
|
"xBucketNumber": null,
|
|
"xBucketSize": "",
|
|
"yAxis": {
|
|
"decimals": 2,
|
|
"format": "percentunit",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true,
|
|
"splitFactor": null
|
|
},
|
|
"yBucketNumber": null,
|
|
"yBucketSize": null
|
|
},
|
|
{
|
|
"cards": {
|
|
"cardPadding": null,
|
|
"cardRound": 1
|
|
},
|
|
"color": {
|
|
"cardColor": "#b4ff00",
|
|
"colorScale": "sqrt",
|
|
"colorScheme": "interpolateBlues",
|
|
"exponent": 0.5,
|
|
"mode": "spectrum"
|
|
},
|
|
"dataFormat": "timeseries",
|
|
"datasource": "$datasource",
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 6,
|
|
"x": 6,
|
|
"y": 15
|
|
},
|
|
"heatmap": {},
|
|
"highlightCards": true,
|
|
"id": 59,
|
|
"legend": {
|
|
"show": true
|
|
},
|
|
"links": [],
|
|
"targets": [
|
|
{
|
|
"expr": "ceph_osd_numpg{cluster=~'$cluster'}",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "#PGs",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "PGs per OSD",
|
|
"tooltip": {
|
|
"show": true,
|
|
"showHistogram": false
|
|
},
|
|
"type": "heatmap",
|
|
"xAxis": {
|
|
"show": true
|
|
},
|
|
"xBucketNumber": null,
|
|
"xBucketSize": "",
|
|
"yAxis": {
|
|
"decimals": null,
|
|
"format": "none",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true,
|
|
"splitFactor": null
|
|
},
|
|
"yBucketNumber": null,
|
|
"yBucketSize": null
|
|
},
|
|
{
|
|
"aliasColors": {},
|
|
"bars": false,
|
|
"dashLength": 10,
|
|
"dashes": false,
|
|
"datasource": "$datasource",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"fillOpacity": 8,
|
|
"showPoints": "never"
|
|
},
|
|
"unit": "ops"
|
|
}
|
|
},
|
|
"fill": 0,
|
|
"gridPos": {
|
|
"h": 9,
|
|
"w": 12,
|
|
"x": 12,
|
|
"y": 15
|
|
},
|
|
"id": 64,
|
|
"legend": {
|
|
"avg": false,
|
|
"current": false,
|
|
"max": false,
|
|
"min": false,
|
|
"show": false,
|
|
"total": false,
|
|
"values": false
|
|
},
|
|
"lines": true,
|
|
"linewidth": 1,
|
|
"links": [],
|
|
"nullPointMode": "null",
|
|
"percentage": false,
|
|
"pointradius": 5,
|
|
"points": false,
|
|
"renderer": "flot",
|
|
"seriesOverrides": [],
|
|
"spaceLength": 10,
|
|
"stack": false,
|
|
"steppedLine": false,
|
|
"targets": [
|
|
{
|
|
"expr": "sum(irate(ceph_osd_recovery_ops{cluster=~'$cluster'}[1m]))",
|
|
"format": "time_series",
|
|
"intervalFactor": 1,
|
|
"legendFormat": "Op/s",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"thresholds": [],
|
|
"timeFrom": null,
|
|
"timeShift": null,
|
|
"title": "Recovery Rate",
|
|
"tooltip": {
|
|
"shared": true,
|
|
"sort": 0,
|
|
"value_type": "individual"
|
|
},
|
|
"type": "timeseries",
|
|
"xaxis": {
|
|
"buckets": null,
|
|
"mode": "time",
|
|
"name": null,
|
|
"show": true,
|
|
"values": []
|
|
},
|
|
"yaxes": [
|
|
{
|
|
"format": "ops",
|
|
"label": "Recovery Ops/s",
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
},
|
|
{
|
|
"format": "short",
|
|
"label": null,
|
|
"logBase": 1,
|
|
"max": null,
|
|
"min": null,
|
|
"show": true
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"refresh": "30s",
|
|
"schemaVersion": 16,
|
|
"style": "dark",
|
|
"tags": [
|
|
"ceph",
|
|
"cluster"
|
|
],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"hide": 0,
|
|
"label": null,
|
|
"name": "datasource",
|
|
"options": [],
|
|
"query": "prometheus",
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"type": "datasource"
|
|
},
|
|
{
|
|
"datasource": {
|
|
"type": "prometheus",
|
|
"uid": "${datasource}"
|
|
},
|
|
"definition": "label_values(ceph_health_status, cluster)",
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"label": "Cluster",
|
|
"multi": false,
|
|
"name": "cluster",
|
|
"options": [],
|
|
"query": {
|
|
"query": "label_values(ceph_health_status, cluster)",
|
|
"refId": "StandardVariableQuery"
|
|
},
|
|
"refresh": 1,
|
|
"regex": "",
|
|
"skipUrlSync": false,
|
|
"sort": 0,
|
|
"type": "query"
|
|
},
|
|
{
|
|
"auto": true,
|
|
"auto_count": 10,
|
|
"auto_min": "1m",
|
|
"current": {
|
|
"text": "auto",
|
|
"value": "$__auto_interval_interval"
|
|
},
|
|
"datasource": null,
|
|
"hide": 0,
|
|
"includeAll": false,
|
|
"label": "Interval",
|
|
"multi": false,
|
|
"name": "interval",
|
|
"options": [
|
|
{
|
|
"selected": true,
|
|
"text": "auto",
|
|
"value": "$__auto_interval_interval"
|
|
},
|
|
{
|
|
"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": "1m,10m,30m,1h,6h,12h,1d,7d,14d,30d",
|
|
"refresh": 2,
|
|
"type": "interval"
|
|
}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-6h",
|
|
"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": "",
|
|
"title": "Ceph - Cluster",
|
|
"uid": "edtb0oxdq",
|
|
"version": 0
|
|
}
|