26Z12a

Young-Kyoo Kim·3일 전
{
  "annotations": {
    "list": []
  },
  "editable": true,
  "fiscalYearStartMonth": 0,
  "graphTooltip": 1,
  "id": null,
  "links": [],
  "liveNow": false,
  "panels": [
    {
      "collapsed": false,
      "gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 },
      "id": 1,
      "title": "MinIO WoW Performance Summary",
      "type": "row"
    },
    {
      "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
      "fieldConfig": {
        "defaults": {
          "color": { "mode": "thresholds" },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              { "color": "green", "value": null },
              { "color": "red", "value": 10 }
            ]
          },
          "unit": "percent"
        }
      },
      "gridPos": { "h": 4, "w": 12, "x": 0, "y": 1 },
      "id": 2,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": ["lastNotNull"],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "10.0.0",
      "targets": [
        {
          "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
          "editorMode": "code",
          "expr": "((sum(rate(minio_s3_requests_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m])) - sum(rate(minio_s3_requests_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m] offset 1w))) / sum(rate(minio_s3_requests_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m] offset 1w))) * 100",
          "legendFormat": "TPS WoW Change (%)",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Total TPS Change (vs 1 Week Ago)",
      "type": "stat"
    },
    {
      "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
      "fieldConfig": {
        "defaults": {
          "color": { "mode": "thresholds" },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              { "color": "green", "value": null },
              { "color": "orange", "value": 20 },
              { "color": "red", "value": 50 }
            ]
          },
          "unit": "s"
        }
      },
      "gridPos": { "h": 4, "w": 12, "x": 12, "y": 1 },
      "id": 3,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": ["lastNotNull"],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "10.0.0",
      "targets": [
        {
          "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
          "editorMode": "code",
          "expr": "histogram_quantile(0.95, sum(rate(minio_s3_time_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m])) by (le))",
          "legendFormat": "Current p95 Latency",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Current S3 API Latency (p95)",
      "type": "stat"
    },
    {
      "collapsed": false,
      "gridPos": { "h": 1, "w": 24, "x": 0, "y": 5 },
      "id": 4,
      "title": "Traffic & Latency Comparison",
      "type": "row"
    },
    {
      "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
      "fieldConfig": {
        "defaults": {
          "custom": {
            "drawStyle": "line",
            "lineInterpolation": "smooth",
            "lineWidth": 2
          },
          "unit": "reqps"
        },
        "overrides": [
          {
            "matcher": { "id": "byName", "options": "Current TPS" },
            "properties": [{ "id": "custom.lineStyle", "value": { "fill": "solid" } }]
          },
          {
            "matcher": { "id": "byName", "options": "1 Week Ago TPS" },
            "properties": [
              { "id": "custom.lineStyle", "value": { "dash": [5, 5], "fill": "dash" } },
              { "id": "color", "value": { "fixedColor": "dark-gray", "mode": "fixed" } }
            ]
          }
        ]
      },
      "gridPos": { "h": 8, "w": 12, "x": 0, "y": 6 },
      "id": 5,
      "options": {
        "legend": { "displayMode": "list", "placement": "bottom" },
        "tooltip": { "mode": "multi", "sort": "desc" }
      },
      "targets": [
        {
          "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
          "editorMode": "code",
          "expr": "sum(rate(minio_s3_requests_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m]))",
          "legendFormat": "Current TPS",
          "refId": "A"
        },
        {
          "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
          "editorMode": "code",
          "expr": "sum(rate(minio_s3_requests_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m] offset 1w))",
          "legendFormat": "1 Week Ago TPS",
          "refId": "B"
        }
      ],
      "title": "S3 Request Throughput (TPS - Current vs WoW)",
      "type": "timeseries"
    },
    {
      "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
      "fieldConfig": {
        "defaults": {
          "custom": {
            "drawStyle": "line",
            "lineInterpolation": "smooth",
            "lineWidth": 2
          },
          "unit": "s"
        },
        "overrides": [
          {
            "matcher": { "id": "byName", "options": "1 Week Ago p95 Latency" },
            "properties": [
              { "id": "custom.lineStyle", "value": { "dash": [5, 5], "fill": "dash" } },
              { "id": "color", "value": { "fixedColor": "dark-gray", "mode": "fixed" } }
            ]
          }
        ]
      },
      "gridPos": { "h": 8, "w": 12, "x": 12, "y": 6 },
      "id": 6,
      "options": {
        "legend": { "displayMode": "list", "placement": "bottom" },
        "tooltip": { "mode": "multi", "sort": "desc" }
      },
      "targets": [
        {
          "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
          "editorMode": "code",
          "expr": "histogram_quantile(0.95, sum(rate(minio_s3_time_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m])) by (le))",
          "legendFormat": "Current p95 Latency",
          "refId": "A"
        },
        {
          "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
          "editorMode": "code",
          "expr": "histogram_quantile(0.95, sum(rate(minio_s3_time_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m] offset 1w)) by (le))",
          "legendFormat": "1 Week Ago p95 Latency",
          "refId": "B"
        }
      ],
      "title": "S3 API Latency p95 (Current vs WoW)",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "gridPos": { "h": 1, "w": 24, "x": 0, "y": 14 },
      "id": 7,
      "title": "Runtime & System Metrics",
      "type": "row"
    },
    {
      "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
      "fieldConfig": {
        "defaults": {
          "custom": {
            "drawStyle": "line",
            "lineWidth": 2
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": { "id": "byName", "options": "1 Week Ago Goroutines" },
            "properties": [
              { "id": "custom.lineStyle", "value": { "dash": [5, 5], "fill": "dash" } },
              { "id": "color", "value": { "fixedColor": "dark-gray", "mode": "fixed" } }
            ]
          }
        ]
      },
      "gridPos": { "h": 8, "w": 12, "x": 0, "y": 15 },
      "id": 8,
      "options": {
        "legend": { "displayMode": "list", "placement": "bottom" }
      },
      "targets": [
        {
          "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
          "editorMode": "code",
          "expr": "sum(go_goroutines{job=~\"minio.*\", cluster=~\"$cluster\", namespace=~\"$namespace\"})",
          "legendFormat": "Current Goroutines",
          "refId": "A"
        },
        {
          "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
          "editorMode": "code",
          "expr": "sum(go_goroutines{job=~\"minio.*\", cluster=~\"$cluster\", namespace=~\"$namespace\"} offset 1w)",
          "legendFormat": "1 Week Ago Goroutines",
          "refId": "B"
        }
      ],
      "title": "Go Goroutines Count (Current vs WoW)",
      "type": "timeseries"
    },
    {
      "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
      "fieldConfig": {
        "defaults": {
          "custom": {
            "drawStyle": "line",
            "lineWidth": 2
          },
          "unit": "Bps"
        },
        "overrides": [
          {
            "matcher": { "id": "byName", "options": "1 Week Ago Rx" },
            "properties": [{ "id": "custom.lineStyle", "value": { "dash": [5, 5] } }]
          },
          {
            "matcher": { "id": "byName", "options": "1 Week Ago Tx" },
            "properties": [{ "id": "custom.lineStyle", "value": { "dash": [5, 5] } }]
          }
        ]
      },
      "gridPos": { "h": 8, "w": 12, "x": 12, "y": 15 },
      "id": 9,
      "options": {
        "legend": { "displayMode": "list", "placement": "bottom" }
      },
      "targets": [
        {
          "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
          "editorMode": "code",
          "expr": "sum(rate(minio_s3_traffic_received_bytes_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m]))",
          "legendFormat": "Current Rx (Received)",
          "refId": "A"
        },
        {
          "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
          "editorMode": "code",
          "expr": "sum(rate(minio_s3_traffic_sent_bytes_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m]))",
          "legendFormat": "Current Tx (Sent)",
          "refId": "B"
        },
        {
          "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
          "editorMode": "code",
          "expr": "sum(rate(minio_s3_traffic_received_bytes_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m] offset 1w))",
          "legendFormat": "1 Week Ago Rx",
          "refId": "C"
        },
        {
          "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
          "editorMode": "code",
          "expr": "sum(rate(minio_s3_traffic_sent_bytes_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m] offset 1w))",
          "legendFormat": "1 Week Ago Tx",
          "refId": "D"
        }
      ],
      "title": "Network Throughput (Current vs WoW)",
      "type": "timeseries"
    }
  ],
  "refresh": "1m",
  "schemaVersion": 38,
  "style": "dark",
  "tags": ["minio", "wow", "performance"],
  "templating": {
    "list": [
      {
        "current": { "selected": true, "text": "All", "value": "$__all" },
        "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
        "definition": "label_values(minio_s3_requests_total, cluster)",
        "hide": 0,
        "includeAll": true,
        "label": "Cluster",
        "multi": true,
        "name": "cluster",
        "options": [],
        "query": {
          "query": "label_values(minio_s3_requests_total, cluster)",
          "refId": "PrometheusVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "type": "query"
      },
      {
        "current": { "selected": true, "text": "All", "value": "$__all" },
        "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" },
        "definition": "label_values(minio_s3_requests_total{cluster=~\"$cluster\"}, namespace)",
        "hide": 0,
        "includeAll": true,
        "label": "Namespace",
        "multi": true,
        "name": "namespace",
        "options": [],
        "query": {
          "query": "label_values(minio_s3_requests_total{cluster=~\"$cluster\"}, namespace)",
          "refId": "PrometheusVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "type": "query"
      }
    ]
  },
  "time": {
    "from": "now-7d",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "browser",
  "title": "MinIO AIStor WoW Performance Dashboard",
  "uid": "minio-aistor-wow"
}

0개의 댓글