26Z12e

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 AIStor WoW Performance Summary (Metrics v3)",
      "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": 0.05 },
              { "color": "red", "value": 0.2 }
            ]
          },
          "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_requests_ttfb_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m])) by (le))",
          "legendFormat": "Current p95 TTFB Latency",
          "range": true,
          "refId": "A"
        }
      ],
      "title": "Current S3 TTFB 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" } },
              { "id": "color", "value": { "fixedColor": "red", "mode": "fixed" } }
            ]
          },
          {
            "matcher": { "id": "byName", "options": "1 Week Ago TPS" },
            "properties": [
              { "id": "custom.lineStyle", "value": { "dash": [5, 5], "fill": "dash" } },
              { "id": "color", "value": { "fixedColor": "green", "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": "Current p95 TTFB" },
            "properties": [
              { "id": "custom.lineStyle", "value": { "fill": "solid" } },
              { "id": "color", "value": { "fixedColor": "red", "mode": "fixed" } }
            ]
          },
          {
            "matcher": { "id": "byName", "options": "1 Week Ago p95 TTFB" },
            "properties": [
              { "id": "custom.lineStyle", "value": { "dash": [5, 5], "fill": "dash" } },
              { "id": "color", "value": { "fixedColor": "green", "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_requests_ttfb_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m])) by (le))",
          "legendFormat": "Current p95 TTFB",
          "refId": "A"
        },
        {
          "datasource": { "type": "prometheus", "uid": "$DS_PROMETHEUS" },
          "editorMode": "code",
          "expr": "histogram_quantile(0.95, sum(rate(minio_s3_requests_ttfb_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m] offset 1w)) by (le))",
          "legendFormat": "1 Week Ago p95 TTFB",
          "refId": "B"
        }
      ],
      "title": "S3 TTFB Latency p95 (Current vs WoW)",
      "type": "timeseries"
    },
    {
      "collapsed": false,
      "gridPos": { "h": 1, "w": 24, "x": 0, "y": 14 },
      "id": 7,
      "title": "Runtime & Network Metrics",
      "type": "row"
    },
    {
      "datasource": { "type": "prometheus", "uid": "$DS_PROMETHEUS" },
      "fieldConfig": {
        "defaults": {
          "custom": {
            "drawStyle": "line",
            "lineWidth": 2
          },
          "unit": "short"
        },
        "overrides": [
          {
            "matcher": { "id": "byName", "options": "Current Goroutines" },
            "properties": [
              { "id": "custom.lineStyle", "value": { "fill": "solid" } },
              { "id": "color", "value": { "fixedColor": "red", "mode": "fixed" } }
            ]
          },
          {
            "matcher": { "id": "byName", "options": "1 Week Ago Goroutines" },
            "properties": [
              { "id": "custom.lineStyle", "value": { "dash": [5, 5], "fill": "dash" } },
              { "id": "color", "value": { "fixedColor": "green", "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": "Current Rx (Received)" },
            "properties": [
              { "id": "custom.lineStyle", "value": { "fill": "solid" } },
              { "id": "color", "value": { "fixedColor": "red", "mode": "fixed" } }
            ]
          },
          {
            "matcher": { "id": "byName", "options": "Current Tx (Sent)" },
            "properties": [
              { "id": "custom.lineStyle", "value": { "fill": "solid" } },
              { "id": "color", "value": { "fixedColor": "orange", "mode": "fixed" } }
            ]
          },
          {
            "matcher": { "id": "byName", "options": "1 Week Ago Rx" },
            "properties": [
              { "id": "custom.lineStyle", "value": { "dash": [5, 5], "fill": "dash" } },
              { "id": "color", "value": { "fixedColor": "green", "mode": "fixed" } }
            ]
          },
          {
            "matcher": { "id": "byName", "options": "1 Week Ago Tx" },
            "properties": [
              { "id": "custom.lineStyle", "value": { "dash": [5, 5], "fill": "dash" } },
              { "id": "color", "value": { "fixedColor": "super-light-green", "mode": "fixed" } }
            ]
          }
        ]
      },
      "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{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{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{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{cluster=~\"$cluster\", namespace=~\"$namespace\"}[5m] offset 1w))",
          "legendFormat": "1 Week Ago Tx",
          "refId": "D"
        }
      ],
      "title": "Network Throughput (v3 Bytes - Current vs WoW)",
      "type": "timeseries"
    }
  ],
  "refresh": "1m",
  "schemaVersion": 38,
  "style": "dark",
  "tags": ["minio", "wow", "performance", "v3"],
  "templating": {
    "list": [
      {
        "current": {},
        "hide": 0,
        "includeAll": false,
        "label": "Data Source",
        "multi": false,
        "name": "DS_PROMETHEUS",
        "options": [],
        "query": "prometheus",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "type": "datasource"
      },
      {
        "current": { "selected": true, "text": "All", "value": "$__all" },
        "datasource": { "type": "prometheus", "uid": "$DS_PROMETHEUS" },
        "definition": "label_values(up{cluster=~\".*storage.*\"}, cluster)",
        "hide": 0,
        "includeAll": true,
        "label": "Cluster",
        "multi": true,
        "name": "cluster",
        "options": [],
        "query": {
          "query": "label_values(up{cluster=~\".*storage.*\"}, cluster)",
          "refId": "PrometheusVariableQuery"
        },
        "refresh": 1,
        "regex": ".*storage.*",
        "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 (Metrics v3)",
  "uid": "minio-aistor-wow-v3"
}

0개의 댓글