{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": null,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 100,
"title": "Executive Summary - Goroutines & TTFB KPI (MinIO AIStor Metric v3)",
"type": "row"
},
{
"id": 1,
"title": "Total Cluster Goroutines",
"type": "stat",
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 1
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 50000
},
{
"color": "red",
"value": 100000
}
]
},
"unit": "short"
}
},
"options": {
"colorMode": "value",
"graphMode": "area",
"reduceOptions": {
"calcs": [
"lastNotNull"
]
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"editorMode": "code",
"expr": "sum(minio_system_process_go_routine_total{cluster=~\"$cluster\"})",
"legendFormat": "Total Goroutines",
"refId": "A"
}
]
},
{
"id": 2,
"title": "Max Node Goroutines",
"type": "stat",
"gridPos": {
"h": 4,
"w": 5,
"x": 4,
"y": 1
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 2000
},
{
"color": "red",
"value": 5000
}
]
},
"unit": "short"
}
},
"options": {
"colorMode": "value",
"graphMode": "area",
"reduceOptions": {
"calcs": [
"lastNotNull"
]
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "max(minio_system_process_go_routine_total{cluster=~\"$cluster\"})",
"legendFormat": "Max Node Goroutines",
"refId": "A"
}
]
},
{
"id": 3,
"title": "Cluster TTFB (p90)",
"type": "stat",
"gridPos": {
"h": 4,
"w": 5,
"x": 9,
"y": 1
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 0.1
},
{
"color": "red",
"value": 0.3
}
]
},
"unit": "s"
}
},
"options": {
"colorMode": "value",
"graphMode": "area",
"reduceOptions": {
"calcs": [
"lastNotNull"
]
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "histogram_quantile(0.90, sum(rate(minio_api_requests_ttfb_seconds_distribution{cluster=~\"$cluster\"}[$interval])) by (le))",
"legendFormat": "p90 TTFB",
"refId": "A"
}
]
},
{
"id": 4,
"title": "Cluster TTFB (p99)",
"type": "stat",
"gridPos": {
"h": 4,
"w": 5,
"x": 14,
"y": 1
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "yellow",
"value": 0.2
},
{
"color": "red",
"value": 0.5
}
]
},
"unit": "s"
}
},
"options": {
"colorMode": "value",
"graphMode": "area",
"reduceOptions": {
"calcs": [
"lastNotNull"
]
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "histogram_quantile(0.99, sum(rate(minio_api_requests_ttfb_seconds_distribution{cluster=~\"$cluster\"}[$interval])) by (le))",
"legendFormat": "p99 TTFB",
"refId": "A"
}
]
},
{
"id": 5,
"title": "Inflight (Active) API Requests",
"type": "stat",
"gridPos": {
"h": 4,
"w": 5,
"x": 19,
"y": 1
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": null
}
]
},
"unit": "short"
}
},
"options": {
"colorMode": "value",
"graphMode": "area",
"reduceOptions": {
"calcs": [
"lastNotNull"
]
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(minio_api_requests_inflight_total{cluster=~\"$cluster\"})",
"legendFormat": "Inflight Requests",
"refId": "A"
}
]
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 5
},
"id": 200,
"title": "Goroutine Analytics & Node Imbalance Distribution",
"type": "row"
},
{
"id": 6,
"title": "Goroutine Distribution Heatmap across Servers",
"type": "heatmap",
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 6
},
"options": {
"calculate": false,
"color": {
"mode": "scheme",
"scheme": "Spectral",
"exponent": 0.5,
"fill": "dark-orange"
},
"yAxis": {
"axisPlacement": "left"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "minio_system_process_go_routine_total{cluster=~\"$cluster\", server=~\"$server\"}",
"format": "heatmap",
"legendFormat": "{{server}}",
"refId": "A"
}
]
},
{
"id": 7,
"title": "Top N Goroutine Outlier Servers",
"type": "timeseries",
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 6
},
"fieldConfig": {
"defaults": {
"custom": {
"drawStyle": "line",
"lineInterpolation": "smooth",
"lineWidth": 2
},
"unit": "short"
}
},
"options": {
"legend": {
"displayMode": "table",
"placement": "bottom",
"calcs": [
"mean",
"max"
]
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "topk($topn, minio_system_process_go_routine_total{cluster=~\"$cluster\", server=~\"$server\"})",
"legendFormat": "{{server}}",
"refId": "A"
}
]
},
{
"id": 8,
"title": "Total Goroutines vs Inflight API Requests by Action Name",
"type": "timeseries",
"gridPos": {
"h": 8,
"w": 24,
"x": 0,
"y": 14
},
"fieldConfig": {
"defaults": {
"custom": {
"drawStyle": "line",
"lineWidth": 2
},
"unit": "short"
}
},
"options": {
"legend": {
"displayMode": "table",
"placement": "right",
"calcs": [
"lastNotNull",
"max"
]
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(minio_system_process_go_routine_total{cluster=~\"$cluster\"})",
"legendFormat": "Total Goroutines (Left Y)",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(minio_api_requests_inflight_total{cluster=~\"$cluster\"}) by (name)",
"legendFormat": "Inflight - {{name}}",
"refId": "B"
}
]
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 22
},
"id": 300,
"title": "TTFB (Time To First Byte) Multi-Dimensional Performance Analysis",
"type": "row"
},
{
"id": 9,
"title": "Cluster-wide TTFB Quantiles (p50, p90, p99, p99.9)",
"type": "timeseries",
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 23
},
"fieldConfig": {
"defaults": {
"custom": {
"drawStyle": "line",
"lineWidth": 2
},
"unit": "s"
}
},
"options": {
"legend": {
"displayMode": "table",
"placement": "bottom",
"calcs": [
"mean",
"max"
]
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "histogram_quantile(0.50, sum(rate(minio_bucket_api_ttfb_seconds_distribution{cluster=~\"$cluster\", server=~\"$server\", bucket=~\"$bucket\"}[$interval])) by (le)) or histogram_quantile(0.50, sum(rate(minio_api_requests_ttfb_seconds_distribution{cluster=~\"$cluster\", server=~\"$server\"}[$interval])) by (le))",
"legendFormat": "p50 TTFB",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "histogram_quantile(0.90, sum(rate(minio_bucket_api_ttfb_seconds_distribution{cluster=~\"$cluster\", server=~\"$server\", bucket=~\"$bucket\"}[$interval])) by (le)) or histogram_quantile(0.90, sum(rate(minio_api_requests_ttfb_seconds_distribution{cluster=~\"$cluster\", server=~\"$server\"}[$interval])) by (le))",
"legendFormat": "p90 TTFB",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "histogram_quantile(0.99, sum(rate(minio_bucket_api_ttfb_seconds_distribution{cluster=~\"$cluster\", server=~\"$server\", bucket=~\"$bucket\"}[$interval])) by (le)) or histogram_quantile(0.99, sum(rate(minio_api_requests_ttfb_seconds_distribution{cluster=~\"$cluster\", server=~\"$server\"}[$interval])) by (le))",
"legendFormat": "p99 TTFB",
"refId": "C"
},
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "histogram_quantile(0.999, sum(rate(minio_bucket_api_ttfb_seconds_distribution{cluster=~\"$cluster\", server=~\"$server\", bucket=~\"$bucket\"}[$interval])) by (le)) or histogram_quantile(0.999, sum(rate(minio_api_requests_ttfb_seconds_distribution{cluster=~\"$cluster\", server=~\"$server\"}[$interval])) by (le))",
"legendFormat": "p99.9 TTFB",
"refId": "D"
}
]
},
{
"id": 10,
"title": "Top N Slowest Buckets by p99 TTFB",
"type": "timeseries",
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 23
},
"fieldConfig": {
"defaults": {
"custom": {
"drawStyle": "line",
"lineWidth": 2
},
"unit": "s"
}
},
"options": {
"legend": {
"displayMode": "table",
"placement": "bottom",
"calcs": [
"mean",
"max"
]
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "topk($topn, histogram_quantile(0.99, sum(rate(minio_bucket_api_ttfb_seconds_distribution{cluster=~\"$cluster\"}[$interval])) by (le, bucket)))",
"legendFormat": "Bucket: {{bucket}}",
"refId": "A"
}
]
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 31
},
"id": 400,
"title": "Goroutine Spike Root Cause & Impact Analysis",
"type": "row"
},
{
"id": 11,
"title": "API Request Throughput (RPS) by Action Name",
"type": "timeseries",
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 32
},
"fieldConfig": {
"defaults": {
"custom": {
"drawStyle": "line",
"stacking": {
"group": "A",
"mode": "normal"
}
},
"unit": "reqps"
}
},
"options": {
"legend": {
"displayMode": "table",
"placement": "bottom",
"calcs": [
"mean",
"max"
]
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(minio_api_requests_total{cluster=~\"$cluster\", server=~\"$server\"}[$interval])) by (name)",
"legendFormat": "{{name}}",
"refId": "A"
}
]
},
{
"id": 12,
"title": "API Errors (4xx/5xx) & Queued Waiting Requests",
"type": "timeseries",
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 32
},
"fieldConfig": {
"defaults": {
"custom": {
"drawStyle": "line",
"lineWidth": 2
},
"unit": "short"
}
},
"options": {
"legend": {
"displayMode": "table",
"placement": "bottom",
"calcs": [
"max"
]
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(minio_api_requests_5xx_errors_total{cluster=~\"$cluster\", server=~\"$server\"}[$interval])) by (server)",
"legendFormat": "5xx Errors - {{server}}",
"refId": "A"
},
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(rate(minio_api_requests_4xx_errors_total{cluster=~\"$cluster\", server=~\"$server\"}[$interval])) by (server)",
"legendFormat": "4xx Errors - {{server}}",
"refId": "B"
},
{
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"expr": "sum(minio_api_requests_waiting_total{cluster=~\"$cluster\", server=~\"$server\"}) by (server)",
"legendFormat": "Waiting Requests - {{server}}",
"refId": "C"
}
]
}
],
"refresh": "30s",
"schemaVersion": 38,
"style": "dark",
"tags": [
"minio",
"aistor",
"goroutine",
"ttfb",
"performance"
],
"templating": {
"list": [
{
"name": "datasource",
"type": "datasource",
"query": "prometheus",
"hide": 0,
"label": "Prometheus",
"current": {}
},
{
"name": "cluster",
"type": "query",
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"query": "label_values(minio_cluster_health_nodes_online_count, cluster)",
"label": "Cluster",
"hide": 0,
"includeAll": true,
"multi": true,
"allValue": ".*",
"current": {
"text": "All",
"value": "$__all"
},
"refresh": 2,
"sort": 1
},
{
"name": "server",
"type": "query",
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"query": "label_values(minio_system_process_go_routine_total{cluster=~\"$cluster\"}, server)",
"label": "Node (drill-down, optional)",
"hide": 0,
"includeAll": true,
"multi": true,
"allValue": ".*",
"current": {
"text": "All",
"value": "$__all"
},
"refresh": 2,
"sort": 1
},
{
"name": "bucket",
"type": "query",
"datasource": {
"type": "prometheus",
"uid": "${datasource}"
},
"query": "label_values(minio_bucket_api_ttfb_seconds_distribution{cluster=~\"$cluster\"}, bucket)",
"label": "Bucket",
"hide": 0,
"includeAll": true,
"multi": false,
"allValue": ".*",
"current": {
"text": "All",
"value": "$__all"
},
"refresh": 2,
"sort": 1
},
{
"name": "topn",
"type": "custom",
"query": "10,15,20,30",
"label": "Top N",
"hide": 0,
"current": {
"text": "15",
"value": "15"
},
"options": [
{
"text": "10",
"value": "10",
"selected": false
},
{
"text": "15",
"value": "15",
"selected": true
},
{
"text": "20",
"value": "20",
"selected": false
},
{
"text": "30",
"value": "30",
"selected": false
}
]
},
{
"current": {
"selected": true,
"text": "2m",
"value": "2m"
},
"hide": 0,
"label": "Interval",
"name": "interval",
"options": [
{
"selected": false,
"text": "30s",
"value": "30s"
},
{
"selected": false,
"text": "1m",
"value": "1m"
},
{
"selected": true,
"text": "2m",
"value": "2m"
},
{
"selected": false,
"text": "5m",
"value": "5m"
},
{
"selected": false,
"text": "10m",
"value": "10m"
}
],
"query": "30s,1m,2m,5m,10m",
"type": "interval"
}
]
},
"time": {
"from": "now-3h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m"
]
},
"timezone": "browser",
"title": "MinIO AIStor - Goroutine & TTFB Analytics (Official v3 Spec)",
"uid": "minio-aistor-goroutine-ttfb-v4",
"version": 1
}