Ctrl K
ComunidadGuías…

monitoring/ceph-mixin/dashboards_out/pool-overview.json

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
{
   "__inputs": [ ],
   "__requires": [ ],
   "annotations": {
      "list": [
         {
            "builtIn": 1,
            "datasource": "-- Grafana --",
            "enable": true,
            "hide": true,
            "iconColor": "rgba(0, 211, 255, 1)",
            "name": "Annotations & Alerts",
            "showIn": 0,
            "tags": [ ],
            "type": "dashboard"
         }
      ]
   },
   "description": "",
   "editable": false,
   "gnetId": null,
   "graphTooltip": 0,
   "hideControls": false,
   "id": null,
   "links": [
      {
         "asDropdown": true,
         "icon": "external link",
         "includeVars": true,
         "keepTime": true,
         "tags": [ ],
         "targetBlank": false,
         "title": "Browse Dashboards",
         "tooltip": "",
         "type": "dashboards",
         "url": ""
      }
   ],
   "panels": [
      {
         "cacheTimeout": null,
         "colorBackground": false,
         "colorValue": false,
         "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
         ],
         "datasource": "$datasource",
         "format": "none",
         "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
         },
         "gridPos": {
            "h": 3,
            "w": 3,
            "x": 0,
            "y": 0
         },
         "id": 2,
         "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": false
         },
         "tableColumn": "",
         "targets": [
            {
               "expr": "count(ceph_pool_metadata{cluster=~\"$cluster|\", })",
               "format": "table",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "",
               "refId": "A"
            }
         ],
         "thresholds": "",
         "title": "Pools",
         "type": "singlestat",
         "valueFontSize": "80%",
         "valueMaps": [
            {
               "op": "=",
               "text": "N/A",
               "value": "null"
            }
         ],
         "valueName": "avg"
      },
      {
         "cacheTimeout": null,
         "colorBackground": false,
         "colorValue": false,
         "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
         ],
         "datasource": "$datasource",
         "description": "Count of the pools that have compression enabled",
         "format": "none",
         "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
         },
         "gridPos": {
            "h": 3,
            "w": 3,
            "x": 3,
            "y": 0
         },
         "id": 3,
         "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": false
         },
         "tableColumn": "",
         "targets": [
            {
               "expr": "count(ceph_pool_metadata{compression_mode!=\"none\", cluster=~\"$cluster|\", })",
               "format": "",
               "intervalFactor": 1,
               "legendFormat": "",
               "refId": "A"
            }
         ],
         "thresholds": "",
         "title": "Pools with Compression",
         "type": "singlestat",
         "valueFontSize": "80%",
         "valueMaps": [
            {
               "op": "=",
               "text": "N/A",
               "value": "null"
            }
         ],
         "valueName": "current"
      },
      {
         "cacheTimeout": null,
         "colorBackground": false,
         "colorValue": false,
         "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
         ],
         "datasource": "$datasource",
         "description": "Total raw capacity available to the cluster",
         "format": "bytes",
         "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
         },
         "gridPos": {
            "h": 3,
            "w": 3,
            "x": 6,
            "y": 0
         },
         "id": 4,
         "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": false
         },
         "tableColumn": "",
         "targets": [
            {
               "expr": "sum(ceph_osd_stat_bytes{cluster=~\"$cluster|\", })",
               "format": "",
               "intervalFactor": 1,
               "legendFormat": "",
               "refId": "A"
            }
         ],
         "thresholds": "",
         "title": "Total Raw Capacity",
         "type": "singlestat",
         "valueFontSize": "80%",
         "valueMaps": [
            {
               "op": "=",
               "text": "N/A",
               "value": "null"
            }
         ],
         "valueName": "current"
      },
      {
         "cacheTimeout": null,
         "colorBackground": false,
         "colorValue": false,
         "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
         ],
         "datasource": "$datasource",
         "description": "Total raw capacity consumed by user data and associated overheads (metadata + redundancy)",
         "format": "bytes",
         "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
         },
         "gridPos": {
            "h": 3,
            "w": 3,
            "x": 9,
            "y": 0
         },
         "id": 5,
         "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": false
         },
         "tableColumn": "",
         "targets": [
            {
               "expr": "sum(ceph_pool_bytes_used{cluster=~\"$cluster|\", })",
               "format": "",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "",
               "refId": "A"
            }
         ],
         "thresholds": "",
         "title": "Raw Capacity Consumed",
         "type": "singlestat",
         "valueFontSize": "80%",
         "valueMaps": [
            {
               "op": "=",
               "text": "N/A",
               "value": "null"
            }
         ],
         "valueName": "current"
      },
      {
         "cacheTimeout": null,
         "colorBackground": false,
         "colorValue": false,
         "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
         ],
         "datasource": "$datasource",
         "description": "Total of client data stored in the cluster",
         "format": "bytes",
         "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
         },
         "gridPos": {
            "h": 3,
            "w": 3,
            "x": 12,
            "y": 0
         },
         "id": 6,
         "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": false
         },
         "tableColumn": "",
         "targets": [
            {
               "expr": "sum(ceph_pool_stored{cluster=~\"$cluster|\", })",
               "format": "",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "",
               "refId": "A"
            }
         ],
         "thresholds": "",
         "title": "Logical Stored ",
         "type": "singlestat",
         "valueFontSize": "80%",
         "valueMaps": [
            {
               "op": "=",
               "text": "N/A",
               "value": "null"
            }
         ],
         "valueName": "current"
      },
      {
         "cacheTimeout": null,
         "colorBackground": false,
         "colorValue": false,
         "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
         ],
         "datasource": "$datasource",
         "description": "A compression saving is determined as the data eligible to be compressed minus the capacity used to store the data after compression",
         "format": "bytes",
         "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
         },
         "gridPos": {
            "h": 3,
            "w": 3,
            "x": 15,
            "y": 0
         },
         "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"
            }
         ],
         "sparkline": {
            "fillColor": "rgba(31, 118, 189, 0.18)",
            "full": false,
            "lineColor": "rgb(31, 120, 193)",
            "show": false
         },
         "tableColumn": "",
         "targets": [
            {
               "expr": "sum(\n  ceph_pool_compress_under_bytes{cluster=~\"$cluster|\", } -\n    ceph_pool_compress_bytes_used{cluster=~\"$cluster|\", }\n)\n",
               "format": "",
               "intervalFactor": 1,
               "legendFormat": "",
               "refId": "A"
            }
         ],
         "thresholds": "",
         "title": "Compression Savings",
         "type": "singlestat",
         "valueFontSize": "80%",
         "valueMaps": [
            {
               "op": "=",
               "text": "N/A",
               "value": "null"
            }
         ],
         "valueName": "current"
      },
      {
         "cacheTimeout": null,
         "colorBackground": false,
         "colorValue": false,
         "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
         ],
         "datasource": "$datasource",
         "description": "Indicates how suitable the data is within the pools that are/have been enabled for compression - averaged across all pools holding compressed data",
         "format": "percent",
         "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
         },
         "gridPos": {
            "h": 3,
            "w": 3,
            "x": 18,
            "y": 0
         },
         "id": 8,
         "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": false
         },
         "tableColumn": "",
         "targets": [
            {
               "expr": "(\n  sum(ceph_pool_compress_under_bytes{cluster=~\"$cluster|\", } > 0) /\n    sum(ceph_pool_stored_raw{cluster=~\"$cluster|\", } and ceph_pool_compress_under_bytes{cluster=~\"$cluster|\", } > 0)\n) * 100\n",
               "format": "table",
               "intervalFactor": 1,
               "legendFormat": "",
               "refId": "A"
            }
         ],
         "thresholds": "",
         "title": "Compression Eligibility",
         "type": "singlestat",
         "valueFontSize": "80%",
         "valueMaps": [
            {
               "op": "=",
               "text": "N/A",
               "value": "null"
            }
         ],
         "valueName": "current"
      },
      {
         "cacheTimeout": null,
         "colorBackground": false,
         "colorValue": false,
         "colors": [
            "#299c46",
            "rgba(237, 129, 40, 0.89)",
            "#d44a3a"
         ],
         "datasource": "$datasource",
         "description": "This factor describes the average ratio of data eligible to be compressed divided by the data actually stored. It does not account for data written that was ineligible for compression (too small, or compression yield too low)",
         "format": "none",
         "gauge": {
            "maxValue": 100,
            "minValue": 0,
            "show": false,
            "thresholdLabels": false,
            "thresholdMarkers": true
         },
         "gridPos": {
            "h": 3,
            "w": 3,
            "x": 21,
            "y": 0
         },
         "id": 9,
         "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": false
         },
         "tableColumn": "",
         "targets": [
            {
               "expr": "sum(\n  ceph_pool_compress_under_bytes{cluster=~\"$cluster|\", } > 0)\n    / sum(ceph_pool_compress_bytes_used{cluster=~\"$cluster|\", } > 0\n)\n",
               "format": "",
               "intervalFactor": 1,
               "legendFormat": "",
               "refId": "A"
            }
         ],
         "thresholds": "",
         "title": "Compression Factor",
         "type": "singlestat",
         "valueFontSize": "80%",
         "valueMaps": [
            {
               "op": "=",
               "text": "N/A",
               "value": "null"
            }
         ],
         "valueName": "current"
      },
      {
         "columns": [ ],
         "datasource": "${datasource}",
         "fieldConfig": {
            "defaults": {
               "custom": {
                  "align": "auto",
                  "cellOptions": {
                     "type": "auto"
                  },
                  "filterable": true,
                  "inspect": false
               },
               "thresholds": {
                  "mode": "absolute",
                  "steps": [
                     {
                        "color": "green",
                        "value": null
                     },
                     {
                        "color": "red",
                        "value": 80
                     }
                  ]
               }
            },
            "overrides": [
               {
                  "matcher": {
                     "id": "byName",
                     "options": "Time"
                  },
                  "properties": [
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "instance"
                  },
                  "properties": [
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "job"
                  },
                  "properties": [
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "name"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Pool Name"
                     },
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "pool_id"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Pool ID"
                     },
                     {
                        "id": "unit",
                        "value": "none"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "Value #A"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Compression Factor"
                     },
                     {
                        "id": "unit",
                        "value": "none"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "Value #D"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "% Used"
                     },
                     {
                        "id": "unit",
                        "value": "percentunit"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     },
                     {
                        "id": "custom.cellOptions",
                        "value": {
                           "type": "color-text"
                        }
                     },
                     {
                        "id": "thresholds",
                        "value": {
                           "mode": "absolute",
                           "steps": [
                              {
                                 "color": "rgba(245, 54, 54, 0.9)",
                                 "value": null
                              },
                              {
                                 "color": "rgba(237, 129, 40, 0.89)",
                                 "value": 70
                              },
                              {
                                 "color": "rgba(50, 172, 45, 0.97)",
                                 "value": 85
                              }
                           ]
                        }
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "Value #B"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Usable Free"
                     },
                     {
                        "id": "unit",
                        "value": "bytes"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "Value #C"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Compression Eligibility"
                     },
                     {
                        "id": "unit",
                        "value": "percent"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "Value #E"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Compression Savings"
                     },
                     {
                        "id": "unit",
                        "value": "bytes"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "Value #F"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Growth (5d)"
                     },
                     {
                        "id": "unit",
                        "value": "bytes"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     },
                     {
                        "id": "custom.cellOptions",
                        "value": {
                           "type": "color-text"
                        }
                     },
                     {
                        "id": "thresholds",
                        "value": {
                           "mode": "absolute",
                           "steps": [
                              {
                                 "color": "rgba(245, 54, 54, 0.9)",
                                 "value": null
                              },
                              {
                                 "color": "rgba(237, 129, 40, 0.89)",
                                 "value": 70
                              },
                              {
                                 "color": "rgba(50, 172, 45, 0.97)",
                                 "value": 85
                              }
                           ]
                        }
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "Value #G"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "IOPS"
                     },
                     {
                        "id": "unit",
                        "value": "none"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "Value #H"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Bandwidth"
                     },
                     {
                        "id": "unit",
                        "value": "Bps"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "__name__"
                  },
                  "properties": [
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "type"
                  },
                  "properties": [
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "compression_mode"
                  },
                  "properties": [
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "description"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Type"
                     },
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "Value #J"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Stored"
                     },
                     {
                        "id": "unit",
                        "value": "bytes"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "Value #I"
                  },
                  "properties": [
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "Value #K"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Compression"
                     },
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     }
                  ]
               }
            ]
         },
         "gridPos": {
            "h": 6,
            "w": 24,
            "x": 0,
            "y": 3
         },
         "id": 10,
         "links": [ ],
         "options": {
            "footer": {
               "countRows": false,
               "enablePagination": false,
               "fields": "",
               "reducer": [
                  "sum"
               ],
               "show": false
            },
            "frameIndex": 1,
            "showHeader": true
         },
         "pluginVersion": "10.4.0",
         "styles": [ ],
         "targets": [
            {
               "expr": "(\n  ceph_pool_compress_under_bytes{cluster=~\"$cluster|\", } /\n    ceph_pool_compress_bytes_used{cluster=~\"$cluster|\", } > 0\n) and on(pool_id) (\n  (\n    (ceph_pool_compress_under_bytes{cluster=~\"$cluster|\", } > 0) /\n      ceph_pool_stored_raw{cluster=~\"$cluster|\", }\n  ) * 100 > 0.5\n)\n",
               "format": "table",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "A",
               "refId": "A"
            },
            {
               "expr": "ceph_pool_max_avail{cluster=~\"$cluster|\", } *\n  on(pool_id) group_left(name) ceph_pool_metadata{cluster=~\"$cluster|\", }\n",
               "format": "table",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "B",
               "refId": "B"
            },
            {
               "expr": "(\n  (ceph_pool_compress_under_bytes{cluster=~\"$cluster|\", } > 0) /\n    ceph_pool_stored_raw{cluster=~\"$cluster|\", }\n) * 100\n",
               "format": "table",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "C",
               "refId": "C"
            },
            {
               "expr": "ceph_pool_percent_used{cluster=~\"$cluster|\", } *\n  on(pool_id) group_left(name) ceph_pool_metadata{cluster=~\"$cluster|\", }\n",
               "format": "table",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "D",
               "refId": "D"
            },
            {
               "expr": "ceph_pool_compress_under_bytes{cluster=~\"$cluster|\", } -\n  ceph_pool_compress_bytes_used{cluster=~\"$cluster|\", } > 0\n",
               "format": "table",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "E",
               "refId": "E"
            },
            {
               "expr": "delta(ceph_pool_stored{cluster=~\"$cluster|\", }[5d])",
               "format": "table",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "F",
               "refId": "F"
            },
            {
               "expr": "rate(ceph_pool_rd{cluster=~\"$cluster|\", }[$__rate_interval])\n  + rate(ceph_pool_wr{cluster=~\"$cluster|\", }[$__rate_interval])\n",
               "format": "table",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "G",
               "refId": "G"
            },
            {
               "expr": "rate(ceph_pool_rd_bytes{cluster=~\"$cluster|\", }[$__rate_interval]) +\n  rate(ceph_pool_wr_bytes{cluster=~\"$cluster|\", }[$__rate_interval])\n",
               "format": "table",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "H",
               "refId": "H"
            },
            {
               "expr": "ceph_pool_metadata{cluster=~\"$cluster|\", }",
               "format": "table",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "I",
               "refId": "I"
            },
            {
               "expr": "ceph_pool_stored{cluster=~\"$cluster|\", } * on(pool_id) group_left ceph_pool_metadata{cluster=~\"$cluster|\", }",
               "format": "table",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "J",
               "refId": "J"
            },
            {
               "expr": "ceph_pool_metadata{compression_mode!=\"none\", cluster=~\"$cluster|\", }",
               "format": "table",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "K",
               "refId": "K"
            },
            {
               "expr": "",
               "format": "",
               "intervalFactor": "",
               "legendFormat": "L",
               "refId": "L"
            }
         ],
         "timeFrom": null,
         "timeShift": null,
         "title": "Pool Overview",
         "transformations": [
            {
               "id": "merge",
               "options": { }
            },
            {
               "id": "seriesToRows",
               "options": { }
            },
            {
               "id": "organize",
               "options": {
                  "excludeByName": {
                     "Time": true,
                     "Value #A": true,
                     "Value #B": false,
                     "Value #C": true,
                     "Value #D": false,
                     "Value #E": true,
                     "Value #I": true,
                     "Value #K": true,
                     "__name__": true,
                     "cluster": true,
                     "compression_mode": true,
                     "instance": true,
                     "job": true,
                     "pool_id": true,
                     "type": true
                  },
                  "includeByName": { },
                  "indexByName": { },
                  "renameByName": { }
               }
            }
         ],
         "type": "table"
      },
      {
         "datasource": "$datasource",
         "description": "",
         "fieldConfig": {
            "defaults": {
               "color": {
                  "mode": "palette-classic"
               },
               "custom": {
                  "axisCenteredZero": false,
                  "axisColorMode": "text",
                  "axisLabel": "IOPS",
                  "axisPlacement": "auto",
                  "barAlignment": 0,
                  "drawStyle": "line",
                  "fillOpacity": 8,
                  "gradientMode": "none",
                  "hideFrom": {
                     "legend": false,
                     "tooltip": false,
                     "viz": false
                  },
                  "lineInterpolation": "linear",
                  "lineWidth": 1,
                  "pointSize": 0,
                  "scaleDistribution": {
                     "type": "linear"
                  },
                  "showPoints": "",
                  "spanNulls": true,
                  "stacking": {
                     "group": "A",
                     "mode": "none"
                  },
                  "thresholdsStyle": {
                     "mode": "off"
                  }
               },
               "thresholds": {
                  "mode": "absolute",
                  "steps": [ ]
               },
               "unit": "short"
            },
            "overrides": [ ]
         },
         "gridPos": {
            "h": 8,
            "w": 12,
            "x": 0,
            "y": 9
         },
         "id": 11,
         "options": {
            "legend": {
               "calcs": [ ],
               "displayMode": "list",
               "placement": "bottom",
               "showLegend": true
            },
            "tooltip": {
               "mode": "multi",
               "sort": "none"
            }
         },
         "pluginVersion": "9.1.3",
         "seriesOverrides": [ ],
         "targets": [
            {
               "expr": "topk($topk,\n  round(\n    (\n      rate(ceph_pool_rd{cluster=~\"$cluster|\", }[$__rate_interval]) +\n      rate(ceph_pool_wr{cluster=~\"$cluster|\", }[$__rate_interval])\n    ), 1\n  ) * on(pool_id) group_left(instance,name) ceph_pool_metadata{cluster=~\"$cluster|\", }\n)\n",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "{{name}}",
               "refId": "A"
            },
            {
               "expr": "topk($topk,\n  rate(ceph_pool_wr{cluster=~\"$cluster|\", }[$__rate_interval]) +\n  on(pool_id) group_left(instance,name) ceph_pool_metadata{cluster=~\"$cluster|\", }\n)\n",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "{{name}} - write",
               "refId": "B"
            }
         ],
         "title": "Top $topk Client IOPS by Pool",
         "type": "timeseries"
      },
      {
         "datasource": "$datasource",
         "description": "",
         "fieldConfig": {
            "defaults": {
               "color": {
                  "mode": "palette-classic"
               },
               "custom": {
                  "axisCenteredZero": false,
                  "axisColorMode": "text",
                  "axisLabel": "Throughput",
                  "axisPlacement": "auto",
                  "barAlignment": 0,
                  "drawStyle": "line",
                  "fillOpacity": 8,
                  "gradientMode": "none",
                  "hideFrom": {
                     "legend": false,
                     "tooltip": false,
                     "viz": false
                  },
                  "lineInterpolation": "linear",
                  "lineWidth": 1,
                  "pointSize": 0,
                  "scaleDistribution": {
                     "type": "linear"
                  },
                  "showPoints": "",
                  "spanNulls": true,
                  "stacking": {
                     "group": "A",
                     "mode": "none"
                  },
                  "thresholdsStyle": {
                     "mode": "off"
                  }
               },
               "thresholds": {
                  "mode": "absolute",
                  "steps": [ ]
               },
               "unit": "Bps"
            },
            "overrides": [ ]
         },
         "gridPos": {
            "h": 8,
            "w": 12,
            "x": 12,
            "y": 9
         },
         "id": 12,
         "options": {
            "legend": {
               "calcs": [ ],
               "displayMode": "list",
               "placement": "bottom",
               "showLegend": true
            },
            "tooltip": {
               "mode": "multi",
               "sort": "none"
            }
         },
         "pluginVersion": "9.1.3",
         "seriesOverrides": [ ],
         "targets": [
            {
               "expr": "topk($topk,\n  (\n    rate(ceph_pool_rd_bytes{cluster=~\"$cluster|\", }[$__rate_interval]) +\n    rate(ceph_pool_wr_bytes{cluster=~\"$cluster|\", }[$__rate_interval])\n  ) * on(pool_id) group_left(instance, name) ceph_pool_metadata{cluster=~\"$cluster|\", }\n)\n",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "{{name}}",
               "refId": "A"
            }
         ],
         "title": "Top $topk Client Bandwidth by Pool",
         "type": "timeseries"
      },
      {
         "datasource": "$datasource",
         "description": "",
         "fieldConfig": {
            "defaults": {
               "color": {
                  "mode": "palette-classic"
               },
               "custom": {
                  "axisCenteredZero": false,
                  "axisColorMode": "text",
                  "axisLabel": "Capacity Used",
                  "axisPlacement": "auto",
                  "barAlignment": 0,
                  "drawStyle": "line",
                  "fillOpacity": 8,
                  "gradientMode": "none",
                  "hideFrom": {
                     "legend": false,
                     "tooltip": false,
                     "viz": false
                  },
                  "lineInterpolation": "linear",
                  "lineWidth": 1,
                  "pointSize": 0,
                  "scaleDistribution": {
                     "type": "linear"
                  },
                  "showPoints": "",
                  "spanNulls": true,
                  "stacking": {
                     "group": "A",
                     "mode": "none"
                  },
                  "thresholdsStyle": {
                     "mode": "off"
                  }
               },
               "thresholds": {
                  "mode": "absolute",
                  "steps": [ ]
               },
               "unit": "bytes"
            },
            "overrides": [ ]
         },
         "gridPos": {
            "h": 7,
            "w": 24,
            "x": 0,
            "y": 17
         },
         "id": 13,
         "options": {
            "legend": {
               "calcs": [ ],
               "displayMode": "list",
               "placement": "bottom",
               "showLegend": true
            },
            "tooltip": {
               "mode": "multi",
               "sort": "none"
            }
         },
         "pluginVersion": "9.1.3",
         "seriesOverrides": [ ],
         "targets": [
            {
               "expr": "ceph_pool_bytes_used{cluster=~\"$cluster|\", } * on(pool_id) group_right ceph_pool_metadata{cluster=~\"$cluster|\", }",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "{{name}}",
               "refId": "A"
            }
         ],
         "title": "Pool Capacity Usage (RAW)",
         "type": "timeseries"
      }
   ],
   "refresh": "30s",
   "rows": [ ],
   "schemaVersion": 22,
   "style": "dark",
   "tags": [
      "ceph-mixin",
      "overview"
   ],
   "templating": {
      "list": [
         {
            "current": {
               "text": "default",
               "value": "default"
            },
            "hide": 0,
            "label": "Data Source",
            "name": "datasource",
            "options": [ ],
            "query": "prometheus",
            "refresh": 1,
            "regex": "",
            "type": "datasource"
         },
         {
            "allValue": null,
            "current": { },
            "datasource": "$datasource",
            "hide": 0,
            "includeAll": false,
            "label": "cluster",
            "multi": false,
            "name": "cluster",
            "options": [ ],
            "query": "label_values(ceph_health_status, cluster)",
            "refresh": 1,
            "regex": "(.*)",
            "sort": 1,
            "tagValuesQuery": "",
            "tags": [ ],
            "tagsQuery": "",
            "type": "query",
            "useTags": false
         },
         {
            "allValue": null,
            "current": {
               "text": "15",
               "value": "15"
            },
            "hide": 0,
            "includeAll": false,
            "label": "TopK",
            "multi": false,
            "name": "topk",
            "options": [
               {
                  "text": "15",
                  "value": "15"
               }
            ],
            "query": "15",
            "refresh": 0,
            "type": "custom"
         }
      ]
   },
   "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": "",
   "title": "Ceph Pools - Overview",
   "uid": "z99hzWtmk",
   "version": 0
}