apiVersion: v1
data:
  minio-cluster-metrics.json: |
    {
       "annotations": {
          "list": [
             {
                "builtIn": 1,
                "datasource": "-- Grafana --",
                "enable": true,
                "hide": true,
                "iconColor": "rgba(0, 211, 255, 1)",
                "name": "Annotations & Alerts",
                "type": "dashboard"
             }
          ]
       },
       "editable": false,
       "gnetId": null,
       "graphTooltip": 0,
       "id": 48,
       "iteration": 1623751184271,
       "links": [ ],
       "panels": [
          {
             "collapsed": false,
             "datasource": null,
             "fieldConfig": {
                "defaults": { },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 1,
                "w": 24,
                "x": 0,
                "y": 0
             },
             "id": 16,
             "panels": [ ],
             "repeat": null,
             "title": "Overview",
             "type": "row"
          },
          {
             "aliasColors": { },
             "bars": false,
             "dashLength": 10,
             "dashes": false,
             "datasource": "$datasource",
             "fieldConfig": {
                "defaults": {
                   "mappings": [ ],
                   "max": 1,
                   "min": 0,
                   "thresholds": {
                      "mode": "absolute",
                      "steps": [
                         {
                            "color": "green",
                            "value": null
                         },
                         {
                            "color": "red",
                            "value": 80
                         }
                      ]
                   },
                   "unit": "percentunit"
                },
                "overrides": [ ]
             },
             "fill": 1,
             "format": "percentunit",
             "gridPos": {
                "h": 7,
                "w": 6,
                "x": 0,
                "y": 1
             },
             "id": 1,
             "legend": {
                "avg": false,
                "current": false,
                "max": false,
                "min": false,
                "show": true,
                "total": false,
                "values": false
             },
             "lines": true,
             "linewidth": 1,
             "links": [ ],
             "nullPointMode": "null as zero",
             "options": {
                "reduceOptions": {
                   "calcs": [
                      "mean"
                   ],
                   "fields": "",
                   "values": false
                },
                "showThresholdLabels": false,
                "showThresholdMarkers": true,
                "text": { }
             },
             "percentage": false,
             "pluginVersion": "8.0.2",
             "pointradius": 5,
             "points": false,
             "renderer": "flot",
             "seriesOverrides": [ ],
             "spaceLength": 10,
             "stack": false,
             "steppedLine": false,
             "targets": [
                {
                   "expr": "sum(disk_storage_used{disk=~\"$disk\", job=~\"$job\"}) by (disk) / sum(disk_storage_total{disk=~\"$disk\", job=~\"$job\"}) by (disk)",
                   "format": "time_series",
                   "instant": true,
                   "intervalFactor": 2,
                   "legendFormat": "{{disk}}",
                   "refId": "A"
                }
             ],
             "thresholds": "70,80",
             "timeFrom": null,
             "timeShift": null,
             "title": "Storage Used",
             "tooltip": {
                "shared": true,
                "sort": 0,
                "value_type": "individual"
             },
             "type": "gauge",
             "xaxis": {
                "buckets": null,
                "mode": "time",
                "name": null,
                "show": true,
                "values": [ ]
             },
             "yaxes": [
                {
                   "format": "short",
                   "label": null,
                   "logBase": 1,
                   "max": null,
                   "min": 0,
                   "show": true
                },
                {
                   "format": "short",
                   "label": null,
                   "logBase": 1,
                   "max": null,
                   "min": null,
                   "show": false
                }
             ]
          },
          {
             "cacheTimeout": null,
             "datasource": "$datasource",
             "description": "Total number of disks in Erasure-type backends. This metric is not available for FileSystem backends.",
             "fieldConfig": {
                "defaults": {
                   "color": {
                      "mode": "thresholds"
                   },
                   "mappings": [ ],
                   "thresholds": {
                      "mode": "absolute",
                      "steps": [
                         {
                            "color": "#299c46",
                            "value": null
                         },
                         {
                            "color": "rgba(237, 129, 40, 0.89)",
                            "value": 70
                         },
                         {
                            "color": "#d44a3a",
                            "value": 80
                         }
                      ]
                   },
                   "unit": "none"
                },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 7,
                "w": 6,
                "x": 6,
                "y": 1
             },
             "id": 2,
             "interval": null,
             "links": [ ],
             "maxDataPoints": 100,
             "options": {
                "colorMode": "none",
                "graphMode": "none",
                "justifyMode": "auto",
                "orientation": "horizontal",
                "reduceOptions": {
                   "calcs": [
                      "mean"
                   ],
                   "fields": "",
                   "values": false
                },
                "text": { },
                "textMode": "auto"
             },
             "pluginVersion": "8.0.2",
             "targets": [
                {
                   "expr": "sum(minio_disks_total{instance=~\"$instance\", job=~\"$job\"}) > 0",
                   "format": "time_series",
                   "instant": true,
                   "intervalFactor": 2,
                   "refId": "A"
                }
             ],
             "timeFrom": null,
             "timeShift": null,
             "title": "Backend Disks",
             "type": "stat"
          },
          {
             "cacheTimeout": null,
             "datasource": "$datasource",
             "fieldConfig": {
                "defaults": {
                   "color": {
                      "mode": "thresholds"
                   },
                   "mappings": [ ],
                   "thresholds": {
                      "mode": "absolute",
                      "steps": [
                         {
                            "color": "#299c46",
                            "value": null
                         },
                         {
                            "color": "rgba(237, 129, 40, 0.89)",
                            "value": 70
                         },
                         {
                            "color": "#d44a3a",
                            "value": 80
                         }
                      ]
                   },
                   "unit": "none"
                },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 7,
                "w": 6,
                "x": 12,
                "y": 1
             },
             "id": 3,
             "interval": null,
             "links": [ ],
             "maxDataPoints": 100,
             "options": {
                "colorMode": "none",
                "graphMode": "none",
                "justifyMode": "auto",
                "orientation": "horizontal",
                "reduceOptions": {
                   "calcs": [
                      "mean"
                   ],
                   "fields": "",
                   "values": false
                },
                "text": { },
                "textMode": "auto"
             },
             "pluginVersion": "8.0.2",
             "targets": [
                {
                   "expr": "sum(minio_disks_offline{instance=~\"$instance\", job=~\"$job\"})",
                   "format": "time_series",
                   "instant": true,
                   "intervalFactor": 2,
                   "refId": "A"
                }
             ],
             "timeFrom": null,
             "timeShift": null,
             "title": "Backend Disks Offline",
             "type": "stat"
          },
          {
             "datasource": "$datasource",
             "fieldConfig": {
                "defaults": {
                   "color": {
                      "mode": "palette-classic"
                   },
                   "custom": {
                      "axisLabel": "",
                      "axisPlacement": "auto",
                      "barAlignment": 0,
                      "drawStyle": "line",
                      "fillOpacity": 10,
                      "gradientMode": "none",
                      "hideFrom": {
                         "legend": false,
                         "tooltip": false,
                         "viz": false
                      },
                      "lineInterpolation": "linear",
                      "lineWidth": 1,
                      "pointSize": 5,
                      "scaleDistribution": {
                         "type": "linear"
                      },
                      "showPoints": "never",
                      "spanNulls": false,
                      "stacking": {
                         "group": "A",
                         "mode": "none"
                      },
                      "thresholdsStyle": {
                         "mode": "off"
                      }
                   },
                   "mappings": [ ],
                   "min": 0,
                   "thresholds": {
                      "mode": "absolute",
                      "steps": [
                         {
                            "color": "green",
                            "value": null
                         },
                         {
                            "color": "red",
                            "value": 80
                         }
                      ]
                   },
                   "unit": "short"
                },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 7,
                "w": 6,
                "x": 18,
                "y": 1
             },
             "id": 4,
             "links": [ ],
             "options": {
                "legend": {
                   "calcs": [ ],
                   "displayMode": "list",
                   "placement": "bottom"
                },
                "tooltip": {
                   "mode": "single"
                }
             },
             "pluginVersion": "8.0.2",
             "targets": [
                {
                   "expr": "s3_errors_total{instance=~\"$instance\", job=~\"$job\"}",
                   "format": "time_series",
                   "intervalFactor": 2,
                   "legendFormat": "",
                   "legendLink": null,
                   "refId": "A",
                   "step": 10
                }
             ],
             "timeFrom": null,
             "timeShift": null,
             "title": "Errors",
             "type": "timeseries"
          },
          {
             "collapsed": false,
             "datasource": null,
             "fieldConfig": {
                "defaults": { },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 1,
                "w": 24,
                "x": 0,
                "y": 8
             },
             "id": 17,
             "panels": [ ],
             "repeat": null,
             "title": "Storage",
             "type": "row"
          },
          {
             "datasource": "$datasource",
             "fieldConfig": {
                "defaults": {
                   "color": {
                      "mode": "palette-classic"
                   },
                   "custom": {
                      "axisLabel": "",
                      "axisPlacement": "auto",
                      "barAlignment": 0,
                      "drawStyle": "line",
                      "fillOpacity": 10,
                      "gradientMode": "none",
                      "hideFrom": {
                         "legend": false,
                         "tooltip": false,
                         "viz": false
                      },
                      "lineInterpolation": "linear",
                      "lineWidth": 1,
                      "pointSize": 5,
                      "scaleDistribution": {
                         "type": "linear"
                      },
                      "showPoints": "never",
                      "spanNulls": false,
                      "stacking": {
                         "group": "A",
                         "mode": "none"
                      },
                      "thresholdsStyle": {
                         "mode": "off"
                      }
                   },
                   "mappings": [ ],
                   "min": 0,
                   "thresholds": {
                      "mode": "absolute",
                      "steps": [
                         {
                            "color": "green",
                            "value": null
                         },
                         {
                            "color": "red",
                            "value": 80
                         }
                      ]
                   },
                   "unit": "bytes"
                },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 7,
                "w": 8,
                "x": 0,
                "y": 9
             },
             "id": 5,
             "links": [ ],
             "options": {
                "legend": {
                   "calcs": [ ],
                   "displayMode": "list",
                   "placement": "bottom"
                },
                "tooltip": {
                   "mode": "single"
                }
             },
             "pluginVersion": "8.0.2",
             "targets": [
                {
                   "expr": "disk_storage_used{disk=~\"$disk\",instance=~\"$instance\", job=~\"$job\"}",
                   "format": "time_series",
                   "intervalFactor": 2,
                   "legendFormat": "",
                   "legendLink": null,
                   "refId": "A",
                   "step": 10
                }
             ],
             "timeFrom": null,
             "timeShift": null,
             "title": "Storage Used",
             "type": "timeseries"
          },
          {
             "datasource": "$datasource",
             "fieldConfig": {
                "defaults": {
                   "color": {
                      "mode": "palette-classic"
                   },
                   "custom": {
                      "axisLabel": "",
                      "axisPlacement": "auto",
                      "barAlignment": 0,
                      "drawStyle": "line",
                      "fillOpacity": 10,
                      "gradientMode": "none",
                      "hideFrom": {
                         "legend": false,
                         "tooltip": false,
                         "viz": false
                      },
                      "lineInterpolation": "linear",
                      "lineWidth": 1,
                      "pointSize": 5,
                      "scaleDistribution": {
                         "type": "linear"
                      },
                      "showPoints": "never",
                      "spanNulls": false,
                      "stacking": {
                         "group": "A",
                         "mode": "none"
                      },
                      "thresholdsStyle": {
                         "mode": "off"
                      }
                   },
                   "mappings": [ ],
                   "min": 0,
                   "thresholds": {
                      "mode": "absolute",
                      "steps": [
                         {
                            "color": "green",
                            "value": null
                         },
                         {
                            "color": "red",
                            "value": 80
                         }
                      ]
                   },
                   "unit": "bytes"
                },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 7,
                "w": 8,
                "x": 8,
                "y": 9
             },
             "id": 6,
             "links": [ ],
             "options": {
                "legend": {
                   "calcs": [ ],
                   "displayMode": "list",
                   "placement": "bottom"
                },
                "tooltip": {
                   "mode": "single"
                }
             },
             "pluginVersion": "8.0.2",
             "targets": [
                {
                   "expr": "disk_storage_available{disk=~\"$disk\",instance=~\"$instance\", job=~\"$job\"}",
                   "format": "time_series",
                   "intervalFactor": 2,
                   "legendFormat": "",
                   "legendLink": null,
                   "refId": "A",
                   "step": 10
                }
             ],
             "timeFrom": null,
             "timeShift": null,
             "title": "Storage Available",
             "type": "timeseries"
          },
          {
             "datasource": "$datasource",
             "fieldConfig": {
                "defaults": {
                   "color": {
                      "mode": "palette-classic"
                   },
                   "custom": {
                      "axisLabel": "",
                      "axisPlacement": "auto",
                      "barAlignment": 0,
                      "drawStyle": "line",
                      "fillOpacity": 10,
                      "gradientMode": "none",
                      "hideFrom": {
                         "legend": false,
                         "tooltip": false,
                         "viz": false
                      },
                      "lineInterpolation": "linear",
                      "lineWidth": 1,
                      "pointSize": 5,
                      "scaleDistribution": {
                         "type": "linear"
                      },
                      "showPoints": "never",
                      "spanNulls": false,
                      "stacking": {
                         "group": "A",
                         "mode": "none"
                      },
                      "thresholdsStyle": {
                         "mode": "off"
                      }
                   },
                   "mappings": [ ],
                   "min": 0,
                   "thresholds": {
                      "mode": "absolute",
                      "steps": [
                         {
                            "color": "green",
                            "value": null
                         },
                         {
                            "color": "red",
                            "value": 80
                         }
                      ]
                   },
                   "unit": "bytes"
                },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 7,
                "w": 8,
                "x": 16,
                "y": 9
             },
             "id": 7,
             "links": [ ],
             "options": {
                "legend": {
                   "calcs": [ ],
                   "displayMode": "list",
                   "placement": "bottom"
                },
                "tooltip": {
                   "mode": "single"
                }
             },
             "pluginVersion": "8.0.2",
             "targets": [
                {
                   "expr": "disk_storage_total{disk=~\"$disk\",instance=~\"$instance\", job=~\"$job\"}",
                   "format": "time_series",
                   "intervalFactor": 2,
                   "legendFormat": "",
                   "legendLink": null,
                   "refId": "A",
                   "step": 10
                }
             ],
             "timeFrom": null,
             "timeShift": null,
             "title": "Storage Total",
             "type": "timeseries"
          },
          {
             "collapsed": false,
             "datasource": null,
             "fieldConfig": {
                "defaults": { },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 1,
                "w": 24,
                "x": 0,
                "y": 16
             },
             "id": 18,
             "panels": [ ],
             "repeat": null,
             "title": "Buckets",
             "type": "row"
          },
          {
             "datasource": "$datasource",
             "fieldConfig": {
                "defaults": {
                   "color": {
                      "mode": "palette-classic"
                   },
                   "custom": {
                      "axisLabel": "",
                      "axisPlacement": "auto",
                      "barAlignment": 0,
                      "drawStyle": "line",
                      "fillOpacity": 10,
                      "gradientMode": "none",
                      "hideFrom": {
                         "legend": false,
                         "tooltip": false,
                         "viz": false
                      },
                      "lineInterpolation": "linear",
                      "lineWidth": 1,
                      "pointSize": 5,
                      "scaleDistribution": {
                         "type": "linear"
                      },
                      "showPoints": "never",
                      "spanNulls": false,
                      "stacking": {
                         "group": "A",
                         "mode": "none"
                      },
                      "thresholdsStyle": {
                         "mode": "off"
                      }
                   },
                   "mappings": [ ],
                   "min": 0,
                   "thresholds": {
                      "mode": "absolute",
                      "steps": [
                         {
                            "color": "green",
                            "value": null
                         },
                         {
                            "color": "red",
                            "value": 80
                         }
                      ]
                   },
                   "unit": "bytes"
                },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 7,
                "w": 8,
                "x": 0,
                "y": 17
             },
             "id": 8,
             "links": [ ],
             "options": {
                "legend": {
                   "calcs": [ ],
                   "displayMode": "list",
                   "placement": "bottom"
                },
                "tooltip": {
                   "mode": "single"
                }
             },
             "pluginVersion": "8.0.2",
             "targets": [
                {
                   "expr": "max(bucket_usage_size{instance=~\"$instance\", job=~\"$job\"}) by (bucket)",
                   "format": "time_series",
                   "intervalFactor": 2,
                   "legendFormat": "{{bucket}}",
                   "legendLink": null,
                   "refId": "A",
                   "step": 10
                }
             ],
             "timeFrom": null,
             "timeShift": null,
             "title": "Total Size",
             "type": "timeseries"
          },
          {
             "datasource": "$datasource",
             "fieldConfig": {
                "defaults": {
                   "color": {
                      "mode": "palette-classic"
                   },
                   "custom": {
                      "axisLabel": "",
                      "axisPlacement": "auto",
                      "barAlignment": 0,
                      "drawStyle": "line",
                      "fillOpacity": 10,
                      "gradientMode": "none",
                      "hideFrom": {
                         "legend": false,
                         "tooltip": false,
                         "viz": false
                      },
                      "lineInterpolation": "linear",
                      "lineWidth": 1,
                      "pointSize": 5,
                      "scaleDistribution": {
                         "type": "linear"
                      },
                      "showPoints": "never",
                      "spanNulls": false,
                      "stacking": {
                         "group": "A",
                         "mode": "none"
                      },
                      "thresholdsStyle": {
                         "mode": "off"
                      }
                   },
                   "mappings": [ ],
                   "min": 0,
                   "thresholds": {
                      "mode": "absolute",
                      "steps": [
                         {
                            "color": "green",
                            "value": null
                         },
                         {
                            "color": "red",
                            "value": 80
                         }
                      ]
                   },
                   "unit": "short"
                },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 7,
                "w": 8,
                "x": 8,
                "y": 17
             },
             "id": 9,
             "links": [ ],
             "options": {
                "legend": {
                   "calcs": [ ],
                   "displayMode": "list",
                   "placement": "bottom"
                },
                "tooltip": {
                   "mode": "single"
                }
             },
             "pluginVersion": "8.0.2",
             "targets": [
                {
                   "expr": "max(bucket_objects_count{instance=~\"$instance\", job=~\"$job\"}) by (bucket)",
                   "format": "time_series",
                   "intervalFactor": 2,
                   "legendFormat": "{{bucket}}",
                   "legendLink": null,
                   "refId": "A",
                   "step": 10
                }
             ],
             "timeFrom": null,
             "timeShift": null,
             "title": "Object Count",
             "type": "timeseries"
          },
          {
             "datasource": "$datasource",
             "fieldConfig": {
                "defaults": {
                   "color": {
                      "mode": "palette-classic"
                   },
                   "custom": {
                      "axisLabel": "",
                      "axisPlacement": "auto",
                      "barAlignment": 0,
                      "drawStyle": "line",
                      "fillOpacity": 10,
                      "gradientMode": "none",
                      "hideFrom": {
                         "legend": false,
                         "tooltip": false,
                         "viz": false
                      },
                      "lineInterpolation": "linear",
                      "lineWidth": 1,
                      "pointSize": 5,
                      "scaleDistribution": {
                         "type": "linear"
                      },
                      "showPoints": "never",
                      "spanNulls": false,
                      "stacking": {
                         "group": "A",
                         "mode": "none"
                      },
                      "thresholdsStyle": {
                         "mode": "off"
                      }
                   },
                   "mappings": [ ],
                   "min": 0,
                   "thresholds": {
                      "mode": "absolute",
                      "steps": [
                         {
                            "color": "green",
                            "value": null
                         },
                         {
                            "color": "red",
                            "value": 80
                         }
                      ]
                   },
                   "unit": "short"
                },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 7,
                "w": 8,
                "x": 16,
                "y": 17
             },
             "id": 10,
             "links": [ ],
             "options": {
                "legend": {
                   "calcs": [ ],
                   "displayMode": "list",
                   "placement": "bottom"
                },
                "tooltip": {
                   "mode": "single"
                }
             },
             "pluginVersion": "8.0.2",
             "targets": [
                {
                   "expr": "max(bucket_objects_histogram{instance=~\"$instance\", job=~\"$job\"}) by (bucket, object_size)",
                   "format": "time_series",
                   "intervalFactor": 2,
                   "legendFormat": "{{bucket}}-{{object_size}}",
                   "legendLink": null,
                   "refId": "A",
                   "step": 10
                }
             ],
             "timeFrom": null,
             "timeShift": null,
             "title": "Object Counts Per Size",
             "type": "timeseries"
          },
          {
             "collapsed": false,
             "datasource": null,
             "fieldConfig": {
                "defaults": { },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 1,
                "w": 24,
                "x": 0,
                "y": 24
             },
             "id": 19,
             "panels": [ ],
             "repeat": null,
             "title": "Requests",
             "type": "row"
          },
          {
             "datasource": "$datasource",
             "fieldConfig": {
                "defaults": {
                   "color": {
                      "mode": "palette-classic"
                   },
                   "custom": {
                      "axisLabel": "",
                      "axisPlacement": "auto",
                      "barAlignment": 0,
                      "drawStyle": "line",
                      "fillOpacity": 10,
                      "gradientMode": "none",
                      "hideFrom": {
                         "legend": false,
                         "tooltip": false,
                         "viz": false
                      },
                      "lineInterpolation": "linear",
                      "lineWidth": 1,
                      "pointSize": 5,
                      "scaleDistribution": {
                         "type": "linear"
                      },
                      "showPoints": "never",
                      "spanNulls": false,
                      "stacking": {
                         "group": "A",
                         "mode": "normal"
                      },
                      "thresholdsStyle": {
                         "mode": "off"
                      }
                   },
                   "mappings": [ ],
                   "min": 0,
                   "thresholds": {
                      "mode": "absolute",
                      "steps": [
                         {
                            "color": "green",
                            "value": null
                         },
                         {
                            "color": "red",
                            "value": 80
                         }
                      ]
                   },
                   "unit": "short"
                },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 7,
                "w": 8,
                "x": 0,
                "y": 25
             },
             "id": 11,
             "links": [ ],
             "options": {
                "legend": {
                   "calcs": [ ],
                   "displayMode": "list",
                   "placement": "bottom"
                },
                "tooltip": {
                   "mode": "single"
                }
             },
             "pluginVersion": "8.0.2",
             "targets": [
                {
                   "expr": "sum(rate(s3_requests_total{api=~\"get.*|list.*|head.*\",instance=~\"$instance\", job=~\"$job\"}[$__rate_interval])) by (api)",
                   "format": "time_series",
                   "intervalFactor": 2,
                   "legendFormat": "{{api}}",
                   "legendLink": null,
                   "refId": "A",
                   "step": 10
                }
             ],
             "timeFrom": null,
             "timeShift": null,
             "title": "Read rps",
             "type": "timeseries"
          },
          {
             "datasource": "$datasource",
             "fieldConfig": {
                "defaults": {
                   "color": {
                      "mode": "palette-classic"
                   },
                   "custom": {
                      "axisLabel": "",
                      "axisPlacement": "auto",
                      "barAlignment": 0,
                      "drawStyle": "line",
                      "fillOpacity": 10,
                      "gradientMode": "none",
                      "hideFrom": {
                         "legend": false,
                         "tooltip": false,
                         "viz": false
                      },
                      "lineInterpolation": "linear",
                      "lineWidth": 1,
                      "pointSize": 5,
                      "scaleDistribution": {
                         "type": "linear"
                      },
                      "showPoints": "never",
                      "spanNulls": false,
                      "stacking": {
                         "group": "A",
                         "mode": "normal"
                      },
                      "thresholdsStyle": {
                         "mode": "off"
                      }
                   },
                   "mappings": [ ],
                   "min": 0,
                   "thresholds": {
                      "mode": "absolute",
                      "steps": [
                         {
                            "color": "green",
                            "value": null
                         },
                         {
                            "color": "red",
                            "value": 80
                         }
                      ]
                   },
                   "unit": "short"
                },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 7,
                "w": 8,
                "x": 8,
                "y": 25
             },
             "id": 12,
             "links": [ ],
             "options": {
                "legend": {
                   "calcs": [ ],
                   "displayMode": "list",
                   "placement": "bottom"
                },
                "tooltip": {
                   "mode": "single"
                }
             },
             "pluginVersion": "8.0.2",
             "targets": [
                {
                   "expr": "sum(rate(s3_requests_total{api=~\"put.*\",instance=~\"$instance\", job=~\"$job\"}[$__rate_interval])) by (api)",
                   "format": "time_series",
                   "intervalFactor": 2,
                   "legendFormat": "{{api}}",
                   "legendLink": null,
                   "refId": "A",
                   "step": 10
                }
             ],
             "timeFrom": null,
             "timeShift": null,
             "title": "Write rps",
             "type": "timeseries"
          },
          {
             "datasource": "$datasource",
             "fieldConfig": {
                "defaults": {
                   "color": {
                      "mode": "palette-classic"
                   },
                   "custom": {
                      "axisLabel": "",
                      "axisPlacement": "auto",
                      "barAlignment": 0,
                      "drawStyle": "line",
                      "fillOpacity": 10,
                      "gradientMode": "none",
                      "hideFrom": {
                         "legend": false,
                         "tooltip": false,
                         "viz": false
                      },
                      "lineInterpolation": "linear",
                      "lineWidth": 1,
                      "pointSize": 5,
                      "scaleDistribution": {
                         "type": "linear"
                      },
                      "showPoints": "never",
                      "spanNulls": false,
                      "stacking": {
                         "group": "A",
                         "mode": "none"
                      },
                      "thresholdsStyle": {
                         "mode": "off"
                      }
                   },
                   "mappings": [ ],
                   "min": 0,
                   "thresholds": {
                      "mode": "absolute",
                      "steps": [
                         {
                            "color": "green",
                            "value": null
                         },
                         {
                            "color": "red",
                            "value": 80
                         }
                      ]
                   },
                   "unit": "short"
                },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 7,
                "w": 8,
                "x": 16,
                "y": 25
             },
             "id": 13,
             "links": [ ],
             "options": {
                "legend": {
                   "calcs": [ ],
                   "displayMode": "list",
                   "placement": "bottom"
                },
                "tooltip": {
                   "mode": "single"
                }
             },
             "pluginVersion": "8.0.2",
             "targets": [
                {
                   "expr": "sum(rate(s3_requests_total{api=~\"delete.*\",instance=~\"$instance\", job=~\"$job\"}[$__rate_interval])) by (api)",
                   "format": "time_series",
                   "intervalFactor": 2,
                   "legendFormat": "{{api}}",
                   "legendLink": null,
                   "refId": "A",
                   "step": 10
                }
             ],
             "timeFrom": null,
             "timeShift": null,
             "title": "Delete rps",
             "type": "timeseries"
          },
          {
             "collapsed": false,
             "datasource": null,
             "fieldConfig": {
                "defaults": { },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 1,
                "w": 24,
                "x": 0,
                "y": 32
             },
             "id": 20,
             "panels": [ ],
             "repeat": null,
             "title": "Performance",
             "type": "row"
          },
          {
             "datasource": "$datasource",
             "fieldConfig": {
                "defaults": {
                   "color": {
                      "mode": "palette-classic"
                   },
                   "custom": {
                      "axisLabel": "",
                      "axisPlacement": "auto",
                      "barAlignment": 0,
                      "drawStyle": "line",
                      "fillOpacity": 10,
                      "gradientMode": "none",
                      "hideFrom": {
                         "legend": false,
                         "tooltip": false,
                         "viz": false
                      },
                      "lineInterpolation": "linear",
                      "lineWidth": 1,
                      "pointSize": 5,
                      "scaleDistribution": {
                         "type": "linear"
                      },
                      "showPoints": "never",
                      "spanNulls": false,
                      "stacking": {
                         "group": "A",
                         "mode": "none"
                      },
                      "thresholdsStyle": {
                         "mode": "off"
                      }
                   },
                   "mappings": [ ],
                   "min": 0,
                   "thresholds": {
                      "mode": "absolute",
                      "steps": [
                         {
                            "color": "green",
                            "value": null
                         },
                         {
                            "color": "red",
                            "value": 80
                         }
                      ]
                   },
                   "unit": "ms"
                },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 7,
                "w": 12,
                "x": 0,
                "y": 33
             },
             "id": 14,
             "links": [ ],
             "options": {
                "legend": {
                   "calcs": [ ],
                   "displayMode": "list",
                   "placement": "bottom"
                },
                "tooltip": {
                   "mode": "single"
                }
             },
             "pluginVersion": "8.0.2",
             "targets": [
                {
                   "exemplar": true,
                   "expr": "histogram_quantile(0.99, sum(rate(s3_ttfb_seconds_bucket{api=~\"get.*|list.*|head.*\",instance=~\"$instance\", job=~\"$job\"}[$__rate_interval])) by (le)) * 1e3",
                   "format": "time_series",
                   "interval": "",
                   "intervalFactor": 2,
                   "legendFormat": "99th Percentile",
                   "refId": "A",
                   "step": 10
                },
                {
                   "exemplar": true,
                   "expr": "histogram_quantile(0.50, sum(rate(s3_ttfb_seconds_bucket{api=~\"get.*|list.*|head.*\",instance=~\"$instance\", job=~\"$job\"}[$__rate_interval])) by (le)) * 1e3",
                   "format": "time_series",
                   "interval": "",
                   "intervalFactor": 2,
                   "legendFormat": "50th Percentile",
                   "refId": "B",
                   "step": 10
                },
                {
                   "expr": "sum(rate(s3_ttfb_seconds_sum{api=~\"get.*|list.*|head.*\",instance=~\"$instance\", job=~\"$job\"}[$__interval])) * 1e3 / sum(rate(s3_ttfb_seconds_count{api=~\"get.*|list.*|head.*\",instance=~\"$instance\", job=~\"$job\"}[$__interval]))",
                   "format": "time_series",
                   "intervalFactor": 2,
                   "legendFormat": "Average",
                   "refId": "C",
                   "step": 10
                }
             ],
             "timeFrom": null,
             "timeShift": null,
             "title": "Read latency",
             "type": "timeseries"
          },
          {
             "datasource": "$datasource",
             "description": "Internode traffic for multi-node clusters. Will be zero for single node configurations.",
             "fieldConfig": {
                "defaults": {
                   "color": {
                      "mode": "palette-classic"
                   },
                   "custom": {
                      "axisLabel": "",
                      "axisPlacement": "auto",
                      "barAlignment": 0,
                      "drawStyle": "line",
                      "fillOpacity": 10,
                      "gradientMode": "none",
                      "hideFrom": {
                         "legend": false,
                         "tooltip": false,
                         "viz": false
                      },
                      "lineInterpolation": "linear",
                      "lineWidth": 1,
                      "pointSize": 5,
                      "scaleDistribution": {
                         "type": "linear"
                      },
                      "showPoints": "never",
                      "spanNulls": false,
                      "stacking": {
                         "group": "A",
                         "mode": "none"
                      },
                      "thresholdsStyle": {
                         "mode": "off"
                      }
                   },
                   "mappings": [ ],
                   "min": 0,
                   "thresholds": {
                      "mode": "absolute",
                      "steps": [
                         {
                            "color": "green",
                            "value": null
                         },
                         {
                            "color": "red",
                            "value": 80
                         }
                      ]
                   },
                   "unit": "short"
                },
                "overrides": [ ]
             },
             "gridPos": {
                "h": 7,
                "w": 12,
                "x": 12,
                "y": 33
             },
             "id": 15,
             "links": [ ],
             "options": {
                "legend": {
                   "calcs": [ ],
                   "displayMode": "list",
                   "placement": "bottom"
                },
                "tooltip": {
                   "mode": "single"
                }
             },
             "pluginVersion": "8.0.2",
             "targets": [
                {
                   "expr": "rate(internode_rx_bytes_total{instance=~\"$instance\", job=~\"$job\"}[$__rate_interval])",
                   "format": "time_series",
                   "intervalFactor": 2,
                   "legendFormat": "Inbound-{{instance}}",
                   "legendLink": null,
                   "refId": "A",
                   "step": 10
                },
                {
                   "expr": "rate(internode_tx_bytes_total{instance=~\"$instance\", job=~\"$job\"}[$__rate_interval])",
                   "format": "time_series",
                   "intervalFactor": 2,
                   "legendFormat": "Outbound-{{instance}}",
                   "legendLink": null,
                   "refId": "B",
                   "step": 10
                }
             ],
             "timeFrom": null,
             "timeShift": null,
             "title": "Internode traffic",
             "type": "timeseries"
          }
       ],
       "refresh": "30s",
       "schemaVersion": 30,
       "style": "dark",
       "tags": [
          "minio-bluecity"
       ],
       "templating": {
          "list": [
             {
                "current": {
                   "selected": false,
                   "text": "BLUECITY_MONITORING",
                   "value": "BLUECITY_MONITORING"
                },
                "description": null,
                "error": null,
                "hide": 0,
                "includeAll": false,
                "label": null,
                "multi": false,
                "name": "datasource",
                "options": [ ],
                "query": "prometheus",
                "refresh": 1,
                "regex": "",
                "skipUrlSync": false,
                "type": "datasource"
             },
             {
                "allValue": null,
                "current": {
                   "selected": false,
                   "text": "bluecity-monitoring-system/s3",
                   "value": "bluecity-monitoring-system/s3"
                },
                "datasource": "$datasource",
                "definition": "",
                "description": null,
                "error": null,
                "hide": 0,
                "includeAll": false,
                "label": "job",
                "multi": false,
                "name": "job",
                "options": [ ],
                "query": {
                   "query": "label_values(minio_version_info, job)",
                   "refId": "BLUECITY_MONITORING-job-Variable-Query"
                },
                "refresh": 1,
                "regex": "",
                "skipUrlSync": false,
                "sort": 2,
                "tagValuesQuery": "",
                "tagsQuery": "",
                "type": "query",
                "useTags": false
             },
             {
                "allValue": null,
                "current": {
                   "selected": true,
                   "text": [
                      "All"
                   ],
                   "value": [
                      "$__all"
                   ]
                },
                "datasource": "$datasource",
                "definition": "",
                "description": null,
                "error": null,
                "hide": 0,
                "includeAll": true,
                "label": "instance",
                "multi": true,
                "name": "instance",
                "options": [ ],
                "query": {
                   "query": "label_values(minio_version_info{job=\"$job\"}, instance)",
                   "refId": "BLUECITY_MONITORING-instance-Variable-Query"
                },
                "refresh": 1,
                "regex": "",
                "skipUrlSync": false,
                "sort": 2,
                "tagValuesQuery": "",
                "tagsQuery": "",
                "type": "query",
                "useTags": false
             },
             {
                "allValue": null,
                "current": {
                   "selected": true,
                   "text": [
                      "All"
                   ],
                   "value": [
                      "$__all"
                   ]
                },
                "datasource": "$datasource",
                "definition": "",
                "description": null,
                "error": null,
                "hide": 0,
                "includeAll": true,
                "label": "disk",
                "multi": true,
                "name": "disk",
                "options": [ ],
                "query": {
                   "query": "label_values(disk_storage_available{job=\"$job\"}, disk)",
                   "refId": "BLUECITY_MONITORING-disk-Variable-Query"
                },
                "refresh": 1,
                "regex": "",
                "skipUrlSync": false,
                "sort": 2,
                "tagValuesQuery": "",
                "tagsQuery": "",
                "type": "query",
                "useTags": false
             }
          ]
       },
       "time": {
          "from": "now-30m",
          "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": "browser",
       "title": "MinIO distributed cluster metrics",
       "uid": "9f12bb5e582db0925a22a1b318bcc8b7",
       "version": 1
    }
kind: ConfigMap
metadata:
  labels:
    grafana_dashboard: "1"
  name: minio-cluster-metrics.json
  namespace: cortex-monitoring-system
