116 lines
3.4 KiB
JSON
116 lines
3.4 KiB
JSON
{
|
|
"annotations": { "list": [] },
|
|
"editable": true,
|
|
"fiscalYearStartMonth": 0,
|
|
"graphTooltip": 1,
|
|
"id": null,
|
|
"links": [],
|
|
"panels": [
|
|
{
|
|
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
|
"fieldConfig": { "defaults": { "unit": "s" } },
|
|
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 0 },
|
|
"id": 1,
|
|
"title": "Processing Duration per Video",
|
|
"type": "timeseries",
|
|
"targets": [
|
|
{
|
|
"expr": "histogram_quantile(0.5, rate(video_processing_duration_seconds_bucket[5m]))",
|
|
"legendFormat": "P50"
|
|
},
|
|
{
|
|
"expr": "histogram_quantile(0.95, rate(video_processing_duration_seconds_bucket[5m]))",
|
|
"legendFormat": "P95"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
|
"fieldConfig": { "defaults": { "unit": "short" } },
|
|
"gridPos": { "h": 8, "w": 6, "x": 12, "y": 0 },
|
|
"id": 2,
|
|
"title": "Frame Count per Video",
|
|
"type": "histogram",
|
|
"targets": [
|
|
{
|
|
"expr": "rate(frame_count_per_video[5m])",
|
|
"legendFormat": "Frames"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
|
"fieldConfig": { "defaults": { "unit": "short" } },
|
|
"gridPos": { "h": 8, "w": 6, "x": 18, "y": 0 },
|
|
"id": 3,
|
|
"title": "Face Count per Video",
|
|
"type": "histogram",
|
|
"targets": [
|
|
{
|
|
"expr": "rate(face_count_per_video[5m])",
|
|
"legendFormat": "Faces"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
|
"fieldConfig": { "defaults": { "unit": "percentunit" } },
|
|
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 8 },
|
|
"id": 4,
|
|
"title": "Confidence Score by Model Version",
|
|
"type": "barchart",
|
|
"targets": [
|
|
{
|
|
"expr": "avg by (model_version) (confidence_score)",
|
|
"legendFormat": "{{model_version}}"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
|
"fieldConfig": { "defaults": { "unit": "percentunit" } },
|
|
"gridPos": { "h": 8, "w": 6, "x": 12, "y": 8 },
|
|
"id": 5,
|
|
"title": "Routing Decision Distribution",
|
|
"type": "piechart",
|
|
"targets": [
|
|
{
|
|
"expr": "increase(videos_processed_total{routing_decision=\"MATCH\"}[1h])",
|
|
"legendFormat": "MATCH"
|
|
},
|
|
{
|
|
"expr": "increase(videos_processed_total{routing_decision=\"REVIEW\"}[1h])",
|
|
"legendFormat": "REVIEW"
|
|
},
|
|
{
|
|
"expr": "increase(videos_processed_total{routing_decision=\"SKIP\"}[1h])",
|
|
"legendFormat": "SKIP"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
|
"fieldConfig": { "defaults": { "unit": "reqps" } },
|
|
"gridPos": { "h": 8, "w": 6, "x": 18, "y": 8 },
|
|
"id": 6,
|
|
"title": "Inference Throughput",
|
|
"type": "timeseries",
|
|
"targets": [
|
|
{
|
|
"expr": "rate(faces_detected_total[5m])",
|
|
"legendFormat": "Faces/sec"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"schemaVersion": 38,
|
|
"style": "dark",
|
|
"tags": ["VideoDetect"],
|
|
"templating": { "list": [] },
|
|
"time": { "from": "now-6h", "to": "now" },
|
|
"timepicker": {},
|
|
"title": "VideoDetect - Processing Details",
|
|
"uid": "videodetect-processing-details",
|
|
"version": 1
|
|
}
|