Grafana dashboard: Lustre Overview

Lustre overview panel supporting more than 1 Lustre filesystem. The main purpose of this panel is a general overview of Lustre which should be useful for 90% of the admins. We have also uploaded more advanced metrics with additional metrics and detailed jobstats dashboards. The following information is provided:

- Number of jobs submitting any IO in the last x minutes. Being x the time configured on job_cleanup_interval.
- Nodes connected per server as seen by connected NIDs on /exports
- Metadata operations per filesystem
- Metadata operations per MDS & CPU usage
- IO bandwidth per filesystem
- IO bandwidth per server
- Data IOPS per filesystem
- Data IOPS per OSS & CPU usage
- Available capacity per target
- Available inodes per target
- Top10 jobstats metadata rate
- Top10 hourly aggregated metadata 
- Top10 jobstats data rate
- Top10 hourly aggregated data 

Notes:
- Depending on the number of job IDs and the processing capacity of prometheus the jobstats panels might time out. If this is the case try to reduce the granularity or use any other pre-processing aggregation for jobstats.

{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS_STORAGE",
      "label": "Prometheus Storage",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "5.2.4"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": "5.0.0"
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "5.0.0"
    },
    {
      "type": "panel",
      "id": "singlestat",
      "name": "Singlestat",
      "version": "5.0.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 9658,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1548259471828,
  "links": [],
  "panels": [
    {
      "cacheTimeout": null,
      "colorBackground": false,
      "colorValue": false,
      "colors": [
        "rgba(245, 54, 54, 0.9)",
        "rgba(237, 129, 40, 0.89)",
        "rgba(50, 172, 45, 0.97)"
      ],
      "datasource": "${DS_PROMETHEUS_STORAGE}",
      "format": "none",
      "gauge": {
        "maxValue": 100,
        "minValue": 0,
        "show": false,
        "thresholdLabels": false,
        "thresholdMarkers": true
      },
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 0
      },
      "id": 22,
      "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(sum(lustre_job_stats_total{job=~\"$server.*.*\"}) by (jobid))",
          "format": "time_series",
          "interval": "1m",
          "intervalFactor": 2,
          "legendFormat": "jobs",
          "refId": "A",
          "step": 120
        }
      ],
      "thresholds": "",
      "timeFrom": "1s",
      "title": "Active jobs in the last 30 minutes",
      "type": "singlestat",
      "valueFontSize": "80%",
      "valueMaps": [
        {
          "op": "=",
          "text": "N/A",
          "value": "null"
        }
      ],
      "valueName": "avg"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_STORAGE}",
      "fill": 1,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 0
      },
      "id": 23,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "max(lustre_exports_total{job=~\"$server.*\"}) by (job)",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "{{job}}",
          "refId": "A",
          "step": 240
        }
      ],
      "thresholds": [],
      "timeFrom": "48h",
      "timeShift": null,
      "title": "# Nodes connected per server",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_STORAGE}",
      "description": "Metadata operations per filesystem-type of operation\n\n- Which metadata filesystem has more IOPS?\n- What kind of metadata operation is causing the load?",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 24,
        "x": 0,
        "y": 7
      },
      "id": 16,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "hideEmpty": true,
        "hideZero": true,
        "max": true,
        "min": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 1,
      "points": true,
      "renderer": "flot",
      "repeat": "fs",
      "seriesOverrides": [
        {
          "alias": "/AGGREGATE/",
          "color": "#EAB839",
          "fill": 0,
          "linewidth": 3
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "sum(rate(lustre_stats_total{target=~\"$fs.*\"}[120s])) by (operation)",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "{{operation}}",
          "refId": "A",
          "step": 40
        },
        {
          "expr": "sum(rate(lustre_stats_total{target=~\"$fs.*\"}[120s]))",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "AGGREGATE",
          "refId": "B",
          "step": 40
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Metadata operations for $fs",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ops",
          "label": "Ops per call",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "ops",
          "label": "Ops per filesystem",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_STORAGE}",
      "description": "* Left (thick lines): IOPS per server\n* Right (thin lines): overall CPU load as %\n\n- Which server is getting saturated in terms of CPU?\n- Is it because of the high number of IOPS associated to the server?",
      "fill": 0,
      "gridPos": {
        "h": 8,
        "w": 24,
        "x": 0,
        "y": 16
      },
      "id": 17,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": false,
        "show": true,
        "sort": "max",
        "sortDesc": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 1,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/mds.*CPU/",
          "fill": 3,
          "legend": false,
          "linewidth": 1,
          "points": false,
          "yaxis": 2
        },
        {
          "alias": "/oss.*CPU/",
          "legend": false,
          "lines": false,
          "points": false,
          "yaxis": 2
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "sum(rate(lustre_stats_total{component=\"mdt\",job=~\"$server.*\"}[120s])) by (job)",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "{{job}}",
          "refId": "B",
          "step": 20
        },
        {
          "expr": "100*(1-avg by (instance)(irate(node_cpu{mode=\"idle\",instance=~\"$server.*\"}[2m])))",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "{{instance}}-CPU usage",
          "refId": "A",
          "step": 20
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Metadata operations per MDS & CPU usage",
      "tooltip": {
        "shared": false,
        "sort": 2,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "ops",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "percent",
          "label": "",
          "logBase": 1,
          "max": "100",
          "min": "0",
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_STORAGE}",
      "description": "* Above 0: Write data bandwidth per filesystem and aggregated\n* Below 0: Read data bandwidth per filesystem and aggregated\n\n* Are there high data bursts?\nNote: \n* max performance for fs1 is xx GB/s\n* max performance for fs2 is yy GB/s",
      "fill": 3,
      "gridPos": {
        "h": 12,
        "w": 24,
        "x": 0,
        "y": 24
      },
      "id": 12,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 3,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "fs",
      "seriesOverrides": [
        {
          "alias": "/Aggregate/",
          "fill": 0,
          "linewidth": 1
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "sum(rate(lustre_write_bytes_total{target=~\"$fs.*\"}[2m])) by (component)",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "write",
          "refId": "C",
          "step": 40
        },
        {
          "expr": "-sum(rate(lustre_read_bytes_total{target=~\"$fs.*\"}[2m])) by (component) ",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "read",
          "refId": "D",
          "step": 40
        },
        {
          "expr": "-sum(rate(lustre_read_bytes_total{component=\"ost\"}[2m]))",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "Aggregate filesystems read",
          "refId": "E",
          "step": 40
        },
        {
          "expr": "sum(rate(lustre_write_bytes_total{component=\"ost\"}[2m]))",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "Aggregate filesystems write",
          "refId": "F",
          "step": 40
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "IO bandwidth for $fs",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": [
          "total"
        ]
      },
      "yaxes": [
        {
          "format": "Bps",
          "label": "Read | Write",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "MBs",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_STORAGE}",
      "description": "* Above 0: Write data bandwidth per server\n* Below 0: Read data bandwidth per server\n\n* Are all servers equally loaded?\n* Is there any kind of operation generating more load?",
      "fill": 1,
      "gridPos": {
        "h": 12,
        "w": 12,
        "x": 12,
        "y": 36
      },
      "id": 4,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "sum(rate(lustre_write_bytes_total{job=~\"$server.*\"}[2m])) by (job)",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "{{job}}-write",
          "refId": "A",
          "step": 40
        },
        {
          "expr": "-sum(rate(lustre_read_bytes_total{job=~\"$server.*\"}[2m])) by (job)",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "{{job}}-read",
          "refId": "B",
          "step": 40
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "IO bandwidth per server",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": [
          "total"
        ]
      },
      "yaxes": [
        {
          "format": "Bps",
          "label": "Read | Write",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "MBs",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_STORAGE}",
      "description": "* Above 0: Write data IOPS per filesystem and overall\n* Below 0: Read data IOPS per filesystem and overall\n\n- The more IOPS the more CPU load and latency. \n- High IOPS, low bandwidth usually means small IO patterns (not great)",
      "fill": 3,
      "gridPos": {
        "h": 7,
        "w": 24,
        "x": 0,
        "y": 48
      },
      "id": 3,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "max": true,
        "min": true,
        "show": true,
        "sort": "total",
        "sortDesc": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 3,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "repeat": "fs",
      "seriesOverrides": [
        {
          "alias": "/Aggregate/",
          "fill": 0,
          "linewidth": 1
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "sum(rate(lustre_write_samples_total{target=~\"$fs.*-OST00.*\"}[2m])) by (component)",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "write IOPS ",
          "refId": "C",
          "step": 40
        },
        {
          "expr": "-sum(rate(lustre_read_samples_total{target=~\"$fs.*-OST00.*\"}[2m])) by (component)",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 2,
          "legendFormat": "read IOPS",
          "refId": "D",
          "step": 40
        },
        {
          "expr": "sum(rate(lustre_write_samples_total{component=\"ost\"}[2m]))",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "Aggregate filesystems write IOPS",
          "refId": "E",
          "step": 40
        },
        {
          "expr": "-sum(rate(lustre_read_samples_total{component=\"ost\"}[2m]))",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "Aggregate filesystems read IOPS",
          "refId": "F",
          "step": 40
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Data IOPS for $fs",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "transparent": false,
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "iops",
          "label": "Read | Write",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_STORAGE}",
      "fill": 0,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 0,
        "y": 55
      },
      "id": 7,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": false,
        "min": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "(1-(lustre_free_kilobytes{job=~\"$server.*\"}/lustre_capacity_kilobytes{job=~\"$server.*\"}))*100",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 2,
          "legendFormat": "{{target}}",
          "refId": "A",
          "step": 40
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Capacity per device",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "percent",
          "label": "% capacity",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "percent",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_STORAGE}",
      "description": "* Above 0: Write data iops per server\n* Below 0:  Read data iops per server\n\n* Right side (thin lines): CPU load per server\n\n* Usually the more IOPS the more CPU load",
      "fill": 0,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 55
      },
      "id": 14,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": false,
        "max": true,
        "min": true,
        "show": true,
        "sort": "max",
        "sortDesc": true,
        "total": true,
        "values": true
      },
      "lines": true,
      "linewidth": 3,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "/.*oss.* CPU load/",
          "fill": 2,
          "linewidth": 1,
          "yaxis": 2
        },
        {
          "alias": "/.*mds.* CPU load/",
          "fill": 0,
          "legend": false,
          "lines": false,
          "linewidth": 0
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "-sum(rate(lustre_write_samples_total{job=~\"$server.*\"}[2m])) by (job)",
          "format": "time_series",
          "interval": "",
          "intervalFactor": 2,
          "legendFormat": "{{job}}-write",
          "refId": "A",
          "step": 40
        },
        {
          "expr": "-sum(rate(lustre_read_samples_total{job=~\"$server.*\"}[2m])) by (job)",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "{{job}}-read",
          "refId": "B",
          "step": 40
        },
        {
          "expr": "sum(rate(lustre_write_samples_total{job=~\"$server.*\"}[2m]) + rate(lustre_read_samples_total{job=~\"$server.*\"}[2m])) by (job)",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "{{job}}",
          "refId": "C",
          "step": 40
        },
        {
          "expr": "100*(1-avg by (instance)(irate(node_cpu{mode='idle',instance=~'$server.*'}[2m])))",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "{{instance}} CPU load",
          "refId": "D",
          "step": 40
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Data IOPS per OSS and CPU usage",
      "tooltip": {
        "shared": false,
        "sort": 2,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "iops",
          "label": "Read | Write",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "percent",
          "label": "",
          "logBase": 1,
          "max": "100",
          "min": "0",
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_STORAGE}",
      "fill": 0,
      "gridPos": {
        "h": 7,
        "w": 12,
        "x": 12,
        "y": 62
      },
      "id": 2,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": true,
        "min": false,
        "show": true,
        "sort": "current",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "(1 - (lustre_inodes_free{job=~\"$server.*\"}/lustre_inodes_maximum{job=~\"$server.*\"}))*100",
          "format": "time_series",
          "intervalFactor": 2,
          "legendFormat": "{{target}}",
          "refId": "A",
          "step": 40
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeShift": null,
      "title": "Inodes usage",
      "tooltip": {
        "shared": false,
        "sort": 2,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": [
          "total"
        ]
      },
      "yaxes": [
        {
          "format": "percent",
          "label": "% usage",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_STORAGE}",
      "fill": 1,
      "gridPos": {
        "h": 10,
        "w": 24,
        "x": 0,
        "y": 69
      },
      "id": 9,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": false,
        "max": true,
        "min": false,
        "show": true,
        "sort": "max",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 2,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "topk(10,sum(rate(lustre_job_stats_total{job=~\"$server.*\"}[2m])) by (jobid))",
          "format": "time_series",
          "interval": "120s",
          "intervalFactor": 5,
          "legendFormat": "{{jobid}}",
          "refId": "A",
          "step": 600
        }
      ],
      "thresholds": [],
      "timeFrom": "1h",
      "timeShift": null,
      "title": "Top10  Jobstats: metadata rate",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "iops",
          "label": "IOPS",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_STORAGE}",
      "fill": 1,
      "gridPos": {
        "h": 9,
        "w": 24,
        "x": 0,
        "y": 79
      },
      "id": 10,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": true,
        "min": false,
        "show": true,
        "sort": "max",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 5,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "topk(10,sum(lustre_job_stats_total{job=~\"$server.*\"}) by (jobid))",
          "format": "time_series",
          "interval": "1800s",
          "intervalFactor": 1,
          "legendFormat": "{{jobid}}",
          "refId": "A",
          "step": 1800
        }
      ],
      "thresholds": [],
      "timeFrom": "2h",
      "timeShift": null,
      "title": "Top10 hourly metadata jobstats",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "short",
          "label": "# ops",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_STORAGE}",
      "fill": 1,
      "gridPos": {
        "h": 11,
        "w": 24,
        "x": 0,
        "y": 88
      },
      "id": 20,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "sort": "min",
        "sortDesc": false,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 2,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "-topk(20,sum(rate(lustre_job_read_bytes_total{job=~\"$server.*\"}[2m])) by (jobid))",
          "format": "time_series",
          "interval": "2m",
          "intervalFactor": 2,
          "legendFormat": "{{jobid}}-read",
          "refId": "A",
          "step": 240
        },
        {
          "expr": "topk(20,sum(rate(lustre_job_write_bytes_total{job=~\"$server.*\"}[2m])) by (jobid))",
          "format": "time_series",
          "interval": "2m",
          "intervalFactor": 2,
          "legendFormat": "{{jobid}}-write",
          "refId": "B",
          "step": 240
        }
      ],
      "thresholds": [],
      "timeFrom": "6h",
      "timeShift": null,
      "title": "Top 20 Data rate jobstats",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "Bps",
          "label": "Read | Write",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS_STORAGE}",
      "fill": 1,
      "gridPos": {
        "h": 12,
        "w": 24,
        "x": 0,
        "y": 99
      },
      "id": 19,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": true,
        "min": false,
        "show": true,
        "sort": "max",
        "sortDesc": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "links": [],
      "nullPointMode": "null",
      "percentage": false,
      "pointradius": 2,
      "points": true,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "-topk(20,sum(lustre_job_read_bytes_total{job=~\"$server.*\"}) by (jobid))",
          "format": "time_series",
          "interval": "3600s",
          "intervalFactor": 1,
          "legendFormat": "{{jobid}}-read",
          "refId": "A",
          "step": 3600
        },
        {
          "expr": "topk(20,sum(lustre_job_write_bytes_total{job=~\"$server.*\"}) by (jobid))",
          "format": "time_series",
          "interval": "3600s",
          "intervalFactor": 1,
          "legendFormat": "{{jobid}}-write",
          "refId": "B",
          "step": 3600
        }
      ],
      "thresholds": [],
      "timeFrom": "6h",
      "timeShift": null,
      "title": "Top20 hourly aggregated data jobstats",
      "tooltip": {
        "shared": true,
        "sort": 2,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "decbytes",
          "label": "Read | Write",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": false,
  "schemaVersion": 16,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": [
      {
        "allValue": "",
        "current": {},
        "datasource": "${DS_PROMETHEUS_STORAGE}",
        "hide": 0,
        "includeAll": true,
        "label": "Server",
        "multi": true,
        "name": "server",
        "options": [],
        "query": "label_values(lustre_exporter_build_info, job)",
        "refresh": 1,
        "regex": "",
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS_STORAGE}",
        "hide": 0,
        "includeAll": true,
        "label": "Filesystem",
        "multi": true,
        "name": "fs",
        "options": [],
        "query": "label_values(lustre_stats_total, target)",
        "refresh": 1,
        "regex": "/(.*)-MDT/",
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-6h",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "1m",
      "2m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ],
    "time_options": [
      "5m",
      "15m",
      "1h",
      "6h",
      "12h",
      "24h",
      "2d",
      "7d",
      "30d"
    ]
  },
  "timezone": "browser",
  "title": "Lustre Overview",
  "uid": "HPA5L-wik",
  "version": 2
}