After story 1
This commit is contained in:
@@ -0,0 +1,108 @@
|
||||
{
|
||||
"annotations": {
|
||||
"list": []
|
||||
},
|
||||
"editable": true,
|
||||
"fiscalYearStartMonth": 0,
|
||||
"graphTooltip": 1,
|
||||
"id": null,
|
||||
"links": [],
|
||||
"panels": [
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "unit": "videos/h" } },
|
||||
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 0 },
|
||||
"id": 1,
|
||||
"title": "Throughput (Videos/Hour)",
|
||||
"type": "timeseries",
|
||||
"targets": [
|
||||
{
|
||||
"expr": "rate(videos_processed_total[5m]) * 3600",
|
||||
"legendFormat": "{{routing_decision}}"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"fieldConfig": { "defaults": { "unit": "short" } },
|
||||
"gridPos": { "h": 8, "w": 6, "x": 12, "y": 0 },
|
||||
"id": 2,
|
||||
"title": "Queue Depth",
|
||||
"type": "stat",
|
||||
"targets": [
|
||||
{ "expr": "queue_depth_pending", "legendFormat": "Pending" },
|
||||
{ "expr": "queue_depth_processing", "legendFormat": "Processing" },
|
||||
{ "expr": "queue_depth_review", "legendFormat": "Review" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"fieldConfig": { "defaults": { "unit": "percent", "max": 100 } },
|
||||
"gridPos": { "h": 8, "w": 6, "x": 18, "y": 0 },
|
||||
"id": 3,
|
||||
"title": "GPU Utilization",
|
||||
"type": "gauge",
|
||||
"targets": [
|
||||
{ "expr": "gpu_utilization_percent{gpu_id=\"0\"}", "legendFormat": "GPU 0" },
|
||||
{ "expr": "gpu_utilization_percent{gpu_id=\"1\"}", "legendFormat": "GPU 1" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"fieldConfig": { "defaults": { "unit": "bytes", "max": 24000000000 } },
|
||||
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 8 },
|
||||
"id": 4,
|
||||
"title": "GPU Memory Usage",
|
||||
"type": "timeseries",
|
||||
"targets": [
|
||||
{ "expr": "gpu_memory_used_bytes{gpu_id=\"0\"} / 1073741824", "legendFormat": "GPU 0 (GB)" },
|
||||
{ "expr": "gpu_memory_used_bytes{gpu_id=\"1\"} / 1073741824", "legendFormat": "GPU 1 (GB)" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"fieldConfig": { "defaults": { "unit": "short" } },
|
||||
"gridPos": { "h": 8, "w": 6, "x": 12, "y": 8 },
|
||||
"id": 5,
|
||||
"title": "Error Rate (per 100 videos)",
|
||||
"type": "stat",
|
||||
"targets": [
|
||||
{
|
||||
"expr": "rate(inference_errors_total[5m]) / (rate(videos_processed_total[5m]) + 0.001) * 100",
|
||||
"legendFormat": "Errors/100"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"fieldConfig": { "defaults": { "unit": "percentunit" } },
|
||||
"gridPos": { "h": 8, "w": 6, "x": 18, "y": 8 },
|
||||
"id": 6,
|
||||
"title": "Confidence Distribution",
|
||||
"type": "piechart",
|
||||
"targets": [
|
||||
{
|
||||
"expr": "sum(increase(confidence_score_distribution_bucket{le=\"0.45\"}[1h]))",
|
||||
"legendFormat": "SKIP (<0.45)"
|
||||
},
|
||||
{
|
||||
"expr": "sum(increase(confidence_score_distribution_bucket{le=\"0.75\"}[1h])) - sum(increase(confidence_score_distribution_bucket{le=\"0.45\"}[1h]))",
|
||||
"legendFormat": "REVIEW (0.45-0.75)"
|
||||
},
|
||||
{
|
||||
"expr": "sum(increase(confidence_score_distribution_bucket{le=\"1\"}[1h])) - sum(increase(confidence_score_distribution_bucket{le=\"0.75\"}[1h]))",
|
||||
"legendFormat": "MATCH (>0.75)"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"schemaVersion": 38,
|
||||
"style": "dark",
|
||||
"tags": ["VideoDetect"],
|
||||
"templating": { "list": [] },
|
||||
"time": { "from": "now-1h", "to": "now" },
|
||||
"timepicker": {},
|
||||
"title": "VideoDetect - System Overview",
|
||||
"uid": "videodetect-system-overview",
|
||||
"version": 1
|
||||
}
|
||||
Reference in New Issue
Block a user