Ctrl K
ComunidadGuías…

monitoring/ceph-mixin/dashboards_out/rbd-overview.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.4.2"
      },
      {
         "id": "graph",
         "name": "Graph",
         "type": "panel",
         "version": "5.0.0"
      },
      {
         "id": "prometheus",
         "name": "Prometheus",
         "type": "datasource",
         "version": "5.0.0"
      },
      {
         "id": "table",
         "name": "Table",
         "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": [
      {
         "aliasColors": { },
         "bars": false,
         "dashLength": 10,
         "dashes": false,
         "datasource": "$datasource",
         "description": "RBD per-image IO statistics are disabled by default.\n\nPlease refer to https://docs.ceph.com/en/latest/mgr/prometheus/#rbd-io-statistics for information about how to enable those optionally.",
         "fieldConfig": {
            "defaults": {
               "custom": {
                  "fillOpacity": 8,
                  "showPoints": "never"
               },
               "unit": "short"
            }
         },
         "fill": 1,
         "fillGradient": 0,
         "gridPos": {
            "h": 7,
            "w": 8,
            "x": 0,
            "y": 0
         },
         "id": 2,
         "legend": {
            "alignAsTable": false,
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "rightSide": false,
            "show": true,
            "sideWidth": null,
            "total": false,
            "values": false
         },
         "lines": true,
         "linewidth": 1,
         "links": [ ],
         "nullPointMode": "null as zero",
         "percentage": false,
         "pointradius": 5,
         "points": false,
         "renderer": "flot",
         "repeat": null,
         "seriesOverrides": [ ],
         "spaceLength": 10,
         "stack": false,
         "steppedLine": false,
         "targets": [
            {
               "expr": "round(sum(rate(ceph_rbd_write_ops{cluster=~\"$cluster|\", }[$__rate_interval])))",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "Writes",
               "refId": "A"
            },
            {
               "expr": "round(sum(rate(ceph_rbd_read_ops{cluster=~\"$cluster|\", }[$__rate_interval])))",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "Reads",
               "refId": "B"
            }
         ],
         "thresholds": [ ],
         "timeFrom": null,
         "timeShift": null,
         "title": "IOPS",
         "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": 0,
               "show": true
            }
         ]
      },
      {
         "aliasColors": { },
         "bars": false,
         "dashLength": 10,
         "dashes": false,
         "datasource": "$datasource",
         "description": "RBD per-image IO statistics are disabled by default.\n\nPlease refer to https://docs.ceph.com/en/latest/mgr/prometheus/#rbd-io-statistics for information about how to enable those optionally.",
         "fieldConfig": {
            "defaults": {
               "custom": {
                  "fillOpacity": 8,
                  "showPoints": "never"
               },
               "unit": "Bps"
            }
         },
         "fill": 1,
         "fillGradient": 0,
         "gridPos": {
            "h": 7,
            "w": 8,
            "x": 8,
            "y": 0
         },
         "id": 3,
         "legend": {
            "alignAsTable": false,
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "rightSide": false,
            "show": true,
            "sideWidth": null,
            "total": false,
            "values": false
         },
         "lines": true,
         "linewidth": 1,
         "links": [ ],
         "nullPointMode": "null as zero",
         "percentage": false,
         "pointradius": 5,
         "points": false,
         "renderer": "flot",
         "repeat": null,
         "seriesOverrides": [ ],
         "spaceLength": 10,
         "stack": false,
         "steppedLine": false,
         "targets": [
            {
               "expr": "round(sum(rate(ceph_rbd_write_bytes{cluster=~\"$cluster|\", }[$__rate_interval])))",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "Write",
               "refId": "A"
            },
            {
               "expr": "round(sum(rate(ceph_rbd_read_bytes{cluster=~\"$cluster|\", }[$__rate_interval])))",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "Read",
               "refId": "B"
            }
         ],
         "thresholds": [ ],
         "timeFrom": null,
         "timeShift": null,
         "title": "Throughput",
         "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
         },
         "type": "timeseries",
         "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": [ ]
         },
         "yaxes": [
            {
               "format": "Bps",
               "label": null,
               "logBase": 1,
               "max": null,
               "min": 0,
               "show": true
            },
            {
               "format": "short",
               "label": null,
               "logBase": 1,
               "max": null,
               "min": 0,
               "show": true
            }
         ]
      },
      {
         "aliasColors": { },
         "bars": false,
         "dashLength": 10,
         "dashes": false,
         "datasource": "$datasource",
         "description": "RBD per-image IO statistics are disabled by default.\n\nPlease refer to https://docs.ceph.com/en/latest/mgr/prometheus/#rbd-io-statistics for information about how to enable those optionally.",
         "fieldConfig": {
            "defaults": {
               "custom": {
                  "fillOpacity": 8,
                  "showPoints": "never"
               },
               "unit": "ns"
            }
         },
         "fill": 1,
         "fillGradient": 0,
         "gridPos": {
            "h": 7,
            "w": 8,
            "x": 16,
            "y": 0
         },
         "id": 4,
         "legend": {
            "alignAsTable": false,
            "avg": false,
            "current": false,
            "max": false,
            "min": false,
            "rightSide": false,
            "show": true,
            "sideWidth": null,
            "total": false,
            "values": false
         },
         "lines": true,
         "linewidth": 1,
         "links": [ ],
         "nullPointMode": "null as zero",
         "percentage": false,
         "pointradius": 5,
         "points": false,
         "renderer": "flot",
         "repeat": null,
         "seriesOverrides": [ ],
         "spaceLength": 10,
         "stack": false,
         "steppedLine": false,
         "targets": [
            {
               "expr": "round(\n  sum(rate(ceph_rbd_write_latency_sum{cluster=~\"$cluster|\", }[$__rate_interval])) /\n    sum(rate(ceph_rbd_write_latency_count{cluster=~\"$cluster|\", }[$__rate_interval]))\n)\n",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "Write",
               "refId": "A"
            },
            {
               "expr": "round(\n  sum(rate(ceph_rbd_read_latency_sum{cluster=~\"$cluster|\", }[$__rate_interval])) /\n    sum(rate(ceph_rbd_read_latency_count{cluster=~\"$cluster|\", }[$__rate_interval]))\n)\n",
               "format": "time_series",
               "intervalFactor": 1,
               "legendFormat": "Read",
               "refId": "B"
            }
         ],
         "thresholds": [ ],
         "timeFrom": null,
         "timeShift": null,
         "title": "Average Latency",
         "tooltip": {
            "shared": true,
            "sort": 0,
            "value_type": "individual"
         },
         "type": "timeseries",
         "xaxis": {
            "buckets": null,
            "mode": "time",
            "name": null,
            "show": true,
            "values": [ ]
         },
         "yaxes": [
            {
               "format": "ns",
               "label": null,
               "logBase": 1,
               "max": null,
               "min": 0,
               "show": true
            },
            {
               "format": "short",
               "label": null,
               "logBase": 1,
               "max": null,
               "min": 0,
               "show": true
            }
         ]
      },
      {
         "columns": [ ],
         "datasource": "${datasource}",
         "description": "RBD per-image IO statistics are disabled by default.\n\nPlease refer to https://docs.ceph.com/en/latest/mgr/prometheus/#rbd-io-statistics for information about how to enable those optionally.",
         "fieldConfig": {
            "defaults": {
               "custom": {
                  "align": "null",
                  "cellOptions": {
                     "type": "auto"
                  },
                  "filterable": true,
                  "inspect": false
               },
               "thresholds": {
                  "mode": "absolute",
                  "steps": [
                     {
                        "color": "green",
                        "value": null
                     },
                     {
                        "color": "red",
                        "value": 80
                     }
                  ]
               }
            },
            "overrides": [
               {
                  "matcher": {
                     "id": "byName",
                     "options": "pool"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Pool"
                     },
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     },
                     {
                        "id": "custom.align",
                        "value": null
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "image"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Image"
                     },
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     },
                     {
                        "id": "custom.align",
                        "value": null
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "Value"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "IOPS"
                     },
                     {
                        "id": "unit",
                        "value": "iops"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     },
                     {
                        "id": "custom.align",
                        "value": null
                     }
                  ]
               }
            ]
         },
         "gridPos": {
            "h": 7,
            "w": 8,
            "x": 0,
            "y": 7
         },
         "id": 5,
         "links": [ ],
         "options": {
            "footer": {
               "countRows": false,
               "enablePagination": false,
               "fields": "",
               "reducer": [
                  "sum"
               ],
               "show": false
            },
            "frameIndex": 1,
            "showHeader": true
         },
         "pluginVersion": "10.4.0",
         "styles": [ ],
         "targets": [
            {
               "expr": "topk(10,\n  (\n    sort((\n      rate(ceph_rbd_write_ops{cluster=~\"$cluster|\", }[$__rate_interval]) +\n        on (image, pool, namespace) rate(ceph_rbd_read_ops{cluster=~\"$cluster|\", }[$__rate_interval])\n    ))\n  )\n)\n",
               "format": "table",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "",
               "refId": "A"
            }
         ],
         "timeFrom": null,
         "timeShift": null,
         "title": "Highest IOPS",
         "transformations": [
            {
               "id": "merge",
               "options": {
                  "reducers": [ ]
               }
            }
         ],
         "type": "table"
      },
      {
         "columns": [ ],
         "datasource": "${datasource}",
         "description": "RBD per-image IO statistics are disabled by default.\n\nPlease refer to https://docs.ceph.com/en/latest/mgr/prometheus/#rbd-io-statistics for information about how to enable those optionally.",
         "fieldConfig": {
            "defaults": {
               "custom": {
                  "align": "null",
                  "cellOptions": {
                     "type": "auto"
                  },
                  "filterable": true,
                  "inspect": false
               },
               "thresholds": {
                  "mode": "absolute",
                  "steps": [
                     {
                        "color": "green",
                        "value": null
                     },
                     {
                        "color": "red",
                        "value": 80
                     }
                  ]
               }
            },
            "overrides": [
               {
                  "matcher": {
                     "id": "byName",
                     "options": "pool"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Pool"
                     },
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     },
                     {
                        "id": "custom.align",
                        "value": null
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "image"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Image"
                     },
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     },
                     {
                        "id": "custom.align",
                        "value": null
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "Value"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Throughput"
                     },
                     {
                        "id": "unit",
                        "value": "Bps"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     },
                     {
                        "id": "custom.align",
                        "value": null
                     }
                  ]
               }
            ]
         },
         "gridPos": {
            "h": 7,
            "w": 8,
            "x": 8,
            "y": 7
         },
         "id": 6,
         "links": [ ],
         "options": {
            "footer": {
               "countRows": false,
               "enablePagination": false,
               "fields": "",
               "reducer": [
                  "sum"
               ],
               "show": false
            },
            "frameIndex": 1,
            "showHeader": true
         },
         "pluginVersion": "10.4.0",
         "styles": [ ],
         "targets": [
            {
               "expr": "topk(10,\n  sort(\n    sum(\n      rate(ceph_rbd_read_bytes{cluster=~\"$cluster|\", }[$__rate_interval]) +\n        rate(ceph_rbd_write_bytes{cluster=~\"$cluster|\", }[$__rate_interval])\n    ) by (pool, image, namespace)\n  )\n)\n",
               "format": "table",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "",
               "refId": "A"
            }
         ],
         "timeFrom": null,
         "timeShift": null,
         "title": "Highest Throughput",
         "transformations": [
            {
               "id": "merge",
               "options": {
                  "reducers": [ ]
               }
            }
         ],
         "type": "table"
      },
      {
         "columns": [ ],
         "datasource": "${datasource}",
         "description": "RBD per-image IO statistics are disabled by default.\n\nPlease refer to https://docs.ceph.com/en/latest/mgr/prometheus/#rbd-io-statistics for information about how to enable those optionally.",
         "fieldConfig": {
            "defaults": {
               "custom": {
                  "align": "null",
                  "cellOptions": {
                     "type": "auto"
                  },
                  "filterable": true,
                  "inspect": false
               },
               "thresholds": {
                  "mode": "absolute",
                  "steps": [
                     {
                        "color": "green",
                        "value": null
                     },
                     {
                        "color": "red",
                        "value": 80
                     }
                  ]
               }
            },
            "overrides": [
               {
                  "matcher": {
                     "id": "byName",
                     "options": "pool"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Pool"
                     },
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     },
                     {
                        "id": "custom.align",
                        "value": null
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "image"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Image"
                     },
                     {
                        "id": "unit",
                        "value": "short"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     },
                     {
                        "id": "custom.align",
                        "value": null
                     }
                  ]
               },
               {
                  "matcher": {
                     "id": "byName",
                     "options": "Value"
                  },
                  "properties": [
                     {
                        "id": "displayName",
                        "value": "Latency"
                     },
                     {
                        "id": "unit",
                        "value": "ns"
                     },
                     {
                        "id": "decimals",
                        "value": 2
                     },
                     {
                        "id": "custom.align",
                        "value": null
                     }
                  ]
               }
            ]
         },
         "gridPos": {
            "h": 7,
            "w": 8,
            "x": 16,
            "y": 7
         },
         "id": 7,
         "links": [ ],
         "options": {
            "footer": {
               "countRows": false,
               "enablePagination": false,
               "fields": "",
               "reducer": [
                  "sum"
               ],
               "show": false
            },
            "frameIndex": 1,
            "showHeader": true
         },
         "pluginVersion": "10.4.0",
         "styles": [ ],
         "targets": [
            {
               "expr": "topk(10,\n  sum(\n    rate(ceph_rbd_write_latency_sum{cluster=~\"$cluster|\", }[$__rate_interval]) /\n      clamp_min(rate(ceph_rbd_write_latency_count{cluster=~\"$cluster|\", }[$__rate_interval]), 1) +\n      rate(ceph_rbd_read_latency_sum{cluster=~\"$cluster|\", }[$__rate_interval]) /\n      clamp_min(rate(ceph_rbd_read_latency_count{cluster=~\"$cluster|\", }[$__rate_interval]), 1)\n  ) by (pool, image, namespace)\n)\n",
               "format": "table",
               "instant": true,
               "intervalFactor": 1,
               "legendFormat": "",
               "refId": "A"
            }
         ],
         "timeFrom": null,
         "timeShift": null,
         "title": "Highest Latency",
         "transformations": [
            {
               "id": "merge",
               "options": {
                  "reducers": [ ]
               }
            }
         ],
         "type": "table"
      }
   ],
   "refresh": "30s",
   "rows": [ ],
   "schemaVersion": 16,
   "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
         }
      ]
   },
   "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 Block - Overview",
   "uid": "41FrpeUiz",
   "version": 0
}