Ctrl K
ComunidadGuías…

monitoring/ceph-mixin/dashboards_out/osd-device-details.json

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

Archivo original ↗Preguntar a KiBot
{
   "__inputs": [ ],
   "__requires": [
      {
         "id": "grafana",
         "name": "Grafana",
         "type": "grafana",
         "version": "5.3.2"
      },
      {
         "id": "graph",
         "name": "Graph",
         "type": "panel",
         "version": "5.0.0"
      }
   ],
   "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": [
      {
         "collapse": false,
         "collapsed": false,
         "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 0
         },
         "id": 2,
         "panels": [ ],
         "repeat": null,
         "repeatIteration": null,
         "repeatRowId": null,
         "showTitle": true,
         "title": "OSD Performance",
         "titleSize": "h6",
         "type": "row"
      },
      {
         "datasource": "$datasource",
         "description": "",
         "fieldConfig": {
            "defaults": {
               "color": {
                  "mode": "palette-classic"
               },
               "custom": {
                  "axisCenteredZero": false,
                  "axisColorMode": "text",
                  "axisLabel": "Read (-) / Write (+)",
                  "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": "s"
            },
            "overrides": [ ]
         },
         "gridPos": {
            "h": 9,
            "w": 6,
            "x": 0,
            "y": 1
         },
         "id": 3,
         "options": {
            "legend": {
               "calcs": [ ],
               "displayMode": "list",
               "placement": "bottom",
               "showLegend": true
            },
            "tooltip": {
               "mode": "multi",
               "sort": "none"
            }
         },
         "pluginVersion": "9.1.3",
         "seriesOverrides": [
            {
               "alias": "read",
               "transform": "negative-Y"
            }
         ],
         "targets": [
            {
               "expr": "rate(ceph_osd_op_r_latency_sum{ceph_daemon=~\"$osd\", cluster=~\"$cluster|\", }[$__rate_interval]) /\n  on (ceph_daemon) rate(ceph_osd_op_r_latency_count{cluster=~\"$cluster|\", }[$__rate_interval])\n",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "read",
               "refId": "A"
            },
            {
               "expr": "rate(ceph_osd_op_w_latency_sum{ceph_daemon=~\"$osd\", cluster=~\"$cluster|\", }[$__rate_interval]) /\n  on (ceph_daemon) rate(ceph_osd_op_w_latency_count{cluster=~\"$cluster|\", }[$__rate_interval])\n",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "write",
               "refId": "B"
            }
         ],
         "title": "$osd Latency",
         "type": "timeseries"
      },
      {
         "datasource": "$datasource",
         "description": "",
         "fieldConfig": {
            "defaults": {
               "color": {
                  "mode": "palette-classic"
               },
               "custom": {
                  "axisCenteredZero": false,
                  "axisColorMode": "text",
                  "axisLabel": "Read (-) / Write (+)",
                  "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": 9,
            "w": 6,
            "x": 6,
            "y": 1
         },
         "id": 4,
         "options": {
            "legend": {
               "calcs": [ ],
               "displayMode": "list",
               "placement": "bottom",
               "showLegend": true
            },
            "tooltip": {
               "mode": "multi",
               "sort": "none"
            }
         },
         "pluginVersion": "9.1.3",
         "seriesOverrides": [
            {
               "alias": "Reads",
               "transform": "negative-Y"
            }
         ],
         "targets": [
            {
               "expr": "rate(ceph_osd_op_r{ceph_daemon=~\"$osd\", cluster=~\"$cluster|\", }[$__rate_interval])",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "Reads",
               "refId": "A"
            },
            {
               "expr": "rate(ceph_osd_op_w{ceph_daemon=~\"$osd\", cluster=~\"$cluster|\", }[$__rate_interval])",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "Writes",
               "refId": "B"
            }
         ],
         "title": "$osd R/W IOPS",
         "type": "timeseries"
      },
      {
         "datasource": "$datasource",
         "description": "",
         "fieldConfig": {
            "defaults": {
               "color": {
                  "mode": "palette-classic"
               },
               "custom": {
                  "axisCenteredZero": false,
                  "axisColorMode": "text",
                  "axisLabel": "Read (-) / Write (+)",
                  "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": 9,
            "w": 6,
            "x": 12,
            "y": 1
         },
         "id": 5,
         "options": {
            "legend": {
               "calcs": [ ],
               "displayMode": "list",
               "placement": "bottom",
               "showLegend": true
            },
            "tooltip": {
               "mode": "multi",
               "sort": "none"
            }
         },
         "pluginVersion": "9.1.3",
         "seriesOverrides": [
            {
               "alias": "Read Bytes",
               "transform": "negative-Y"
            }
         ],
         "targets": [
            {
               "expr": "rate(ceph_osd_op_r_out_bytes{ceph_daemon=~\"$osd\", cluster=~\"$cluster|\", }[$__rate_interval])",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "Read Bytes",
               "refId": "A"
            },
            {
               "expr": "rate(ceph_osd_op_w_in_bytes{ceph_daemon=~\"$osd\", cluster=~\"$cluster|\", }[$__rate_interval])",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "Write Bytes",
               "refId": "B"
            }
         ],
         "title": "$osd R/W Bytes",
         "type": "timeseries"
      },
      {
         "collapse": false,
         "collapsed": false,
         "gridPos": {
            "h": 1,
            "w": 24,
            "x": 0,
            "y": 10
         },
         "id": 6,
         "panels": [ ],
         "repeat": null,
         "repeatIteration": null,
         "repeatRowId": null,
         "showTitle": true,
         "title": "Physical Device Performance",
         "titleSize": "h6",
         "type": "row"
      },
      {
         "datasource": "$datasource",
         "description": "",
         "fieldConfig": {
            "defaults": {
               "color": {
                  "mode": "palette-classic"
               },
               "custom": {
                  "axisCenteredZero": false,
                  "axisColorMode": "text",
                  "axisLabel": "Read (-) / Write (+)",
                  "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": "s"
            },
            "overrides": [ ]
         },
         "gridPos": {
            "h": 9,
            "w": 6,
            "x": 0,
            "y": 11
         },
         "id": 7,
         "options": {
            "legend": {
               "calcs": [ ],
               "displayMode": "list",
               "placement": "bottom",
               "showLegend": true
            },
            "tooltip": {
               "mode": "multi",
               "sort": "none"
            }
         },
         "pluginVersion": "9.1.3",
         "seriesOverrides": [
            {
               "alias": "/.*Reads/",
               "transform": "negative-Y"
            }
         ],
         "targets": [
            {
               "expr": "(\n  label_replace(\n    rate(node_disk_read_time_seconds_total[$__rate_interval]) /\n      rate(node_disk_reads_completed_total[$__rate_interval]),\n    \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"\n  ) and on (instance, device) label_replace(\n    label_replace(\n      ceph_disk_occupation_human{ceph_daemon=~\"$osd\", cluster=~\"$cluster|\", },\n      \"device\", \"$1\", \"device\", \"/dev/(.*)\"\n    ), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"\n  )\n)\n",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "{{instance}}/{{device}} Reads",
               "refId": "A"
            },
            {
               "expr": "(\n  label_replace(\n    rate(node_disk_write_time_seconds_total[$__rate_interval]) /\n      rate(node_disk_writes_completed_total[$__rate_interval]),\n    \"instance\", \"$1\", \"instance\", \"([^:.]*).*\") and on (instance, device)\n    label_replace(\n      label_replace(\n        ceph_disk_occupation_human{ceph_daemon=~\"$osd\", cluster=~\"$cluster|\", }, \"device\", \"$1\", \"device\", \"/dev/(.*)\"\n      ), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"\n    )\n)\n",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "{{instance}}/{{device}} Writes",
               "refId": "B"
            }
         ],
         "title": "Physical Device Latency for $osd",
         "type": "timeseries"
      },
      {
         "datasource": "$datasource",
         "description": "",
         "fieldConfig": {
            "defaults": {
               "color": {
                  "mode": "palette-classic"
               },
               "custom": {
                  "axisCenteredZero": false,
                  "axisColorMode": "text",
                  "axisLabel": "Read (-) / Write (+)",
                  "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": 9,
            "w": 6,
            "x": 6,
            "y": 11
         },
         "id": 8,
         "options": {
            "legend": {
               "calcs": [ ],
               "displayMode": "list",
               "placement": "bottom",
               "showLegend": true
            },
            "tooltip": {
               "mode": "multi",
               "sort": "none"
            }
         },
         "pluginVersion": "9.1.3",
         "seriesOverrides": [
            {
               "alias": "/.*Reads/",
               "transform": "negative-Y"
            }
         ],
         "targets": [
            {
               "expr": "label_replace(\n  rate(node_disk_writes_completed_total[$__rate_interval]),\n  \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"\n) and on (instance, device) label_replace(\n  label_replace(\n    ceph_disk_occupation_human{ceph_daemon=~\"$osd\", cluster=~\"$cluster|\", },\n    \"device\", \"$1\", \"device\", \"/dev/(.*)\"\n  ), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"\n)\n",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "{{device}} on {{instance}} Writes",
               "refId": "A"
            },
            {
               "expr": "label_replace(\n  rate(node_disk_reads_completed_total[$__rate_interval]),\n  \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"\n) and on (instance, device) label_replace(\n  label_replace(\n    ceph_disk_occupation_human{ceph_daemon=~\"$osd\", cluster=~\"$cluster|\", },\n    \"device\", \"$1\", \"device\", \"/dev/(.*)\"\n  ), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"\n)\n",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "{{device}} on {{instance}} Reads",
               "refId": "B"
            }
         ],
         "title": "Physical Device R/W IOPS for $osd",
         "type": "timeseries"
      },
      {
         "datasource": "$datasource",
         "description": "",
         "fieldConfig": {
            "defaults": {
               "color": {
                  "mode": "palette-classic"
               },
               "custom": {
                  "axisCenteredZero": false,
                  "axisColorMode": "text",
                  "axisLabel": "Read (-) / Write (+)",
                  "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": 9,
            "w": 6,
            "x": 12,
            "y": 11
         },
         "id": 9,
         "options": {
            "legend": {
               "calcs": [ ],
               "displayMode": "list",
               "placement": "bottom",
               "showLegend": true
            },
            "tooltip": {
               "mode": "multi",
               "sort": "none"
            }
         },
         "pluginVersion": "9.1.3",
         "seriesOverrides": [
            {
               "alias": "/.*Reads/",
               "transform": "negative-Y"
            }
         ],
         "targets": [
            {
               "expr": "label_replace(\n  rate(node_disk_read_bytes_total[$__rate_interval]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"\n) and on (instance, device) label_replace(\n  label_replace(\n    ceph_disk_occupation_human{ceph_daemon=~\"$osd\", cluster=~\"$cluster|\", },\n    \"device\", \"$1\", \"device\", \"/dev/(.*)\"\n  ), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"\n)\n",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "{{instance}} {{device}} Reads",
               "refId": "A"
            },
            {
               "expr": "label_replace(\n  rate(node_disk_written_bytes_total[$__rate_interval]), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"\n) and on (instance, device) label_replace(\n  label_replace(\n    ceph_disk_occupation_human{ceph_daemon=~\"$osd\", cluster=~\"$cluster|\", },\n    \"device\", \"$1\", \"device\", \"/dev/(.*)\"\n  ), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"\n)\n",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "{{instance}} {{device}} Writes",
               "refId": "B"
            }
         ],
         "title": "Physical Device R/W Bytes for $osd",
         "type": "timeseries"
      },
      {
         "datasource": "$datasource",
         "description": "",
         "fieldConfig": {
            "defaults": {
               "color": {
                  "mode": "palette-classic"
               },
               "custom": {
                  "axisCenteredZero": false,
                  "axisColorMode": "text",
                  "axisLabel": "",
                  "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": "never",
                  "spanNulls": true,
                  "stacking": {
                     "group": "A",
                     "mode": "none"
                  },
                  "thresholdsStyle": {
                     "mode": "off"
                  }
               },
               "thresholds": {
                  "mode": "absolute",
                  "steps": [ ]
               },
               "unit": "percentunit"
            },
            "overrides": [ ]
         },
         "gridPos": {
            "h": 9,
            "w": 6,
            "x": 18,
            "y": 11
         },
         "id": 10,
         "options": {
            "legend": {
               "calcs": [ ],
               "displayMode": "list",
               "placement": "bottom",
               "showLegend": true
            },
            "tooltip": {
               "mode": "multi",
               "sort": "none"
            }
         },
         "pluginVersion": "9.1.3",
         "seriesOverrides": [ ],
         "targets": [
            {
               "expr": "label_replace(\n  rate(node_disk_io_time_seconds_total[$__rate_interval]),\n  \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"\n) and on (instance, device) label_replace(\n  label_replace(\n    ceph_disk_occupation_human{ceph_daemon=~\"$osd\", cluster=~\"$cluster|\", }, \"device\", \"$1\", \"device\", \"/dev/(.*)\"\n  ), \"instance\", \"$1\", \"instance\", \"([^:.]*).*\"\n)\n",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "{{device}} on {{instance}}",
               "refId": "A"
            }
         ],
         "title": "Physical Device Util% for $osd",
         "type": "timeseries"
      }
   ],
   "refresh": "30s",
   "rows": [ ],
   "schemaVersion": 16,
   "style": "dark",
   "tags": [
      "ceph-mixin"
   ],
   "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": { },
            "datasource": "$datasource",
            "hide": 0,
            "includeAll": false,
            "label": "OSD",
            "multi": false,
            "name": "osd",
            "options": [ ],
            "query": "label_values(ceph_osd_metadata{cluster=~\"$cluster|\", }, ceph_daemon)",
            "refresh": 1,
            "regex": "(.*)",
            "sort": 1,
            "tagValuesQuery": "",
            "tags": [ ],
            "tagsQuery": "",
            "type": "query",
            "useTags": false
         }
      ]
   },
   "time": {
      "from": "now-3h",
      "to": "now"
   },
   "timepicker": {
      "refresh_intervals": [
         "5s",
         "10s",
         "30s",
         "1m",
         "5m",
         "15m",
         "30m",
         "1h",
         "2h",
         "1d"
      ],
      "time_options": [
         "5m",
         "15m",
         "1h",
         "6h",
         "12h",
         "24h",
         "2d",
         "7d",
         "30d"
      ]
   },
   "timezone": "",
   "title": "Ceph OSD - Device Overview",
   "uid": "CrAHE0iZz",
   "version": 0
}