Files
VideoDetect/monitoring/grafana/dashboards/active_learning.json
T
2026-08-03 11:30:49 -04:00

98 lines
2.7 KiB
JSON

{
"annotations": { "list": [] },
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": null,
"links": [],
"panels": [
{
"datasource": { "type": "prometheus", "uid": "prometheus" },
"fieldConfig": { "defaults": { "unit": "short" } },
"gridPos": { "h": 8, "w": 8, "x": 0, "y": 0 },
"id": 1,
"title": "Review Queue Size Over Time",
"type": "timeseries",
"targets": [
{
"expr": "queue_depth_review",
"legendFormat": "Queue Size"
}
]
},
{
"datasource": { "type": "prometheus", "uid": "prometheus" },
"fieldConfig": { "defaults": { "unit": "short" } },
"gridPos": { "h": 8, "w": 8, "x": 8, "y": 0 },
"id": 2,
"title": "Annotation Rate (Labels/Hour)",
"type": "timeseries",
"targets": [
{
"expr": "rate(videos_processed_total{routing_decision=\"REVIEW\"}[1h])",
"legendFormat": "Reviews/hour"
}
]
},
{
"datasource": { "type": "prometheus", "uid": "prometheus" },
"fieldConfig": { "defaults": { "unit": "short" } },
"gridPos": { "h": 8, "w": 8, "x": 16, "y": 0 },
"id": 3,
"title": "Model Version Timeline",
"type": "state-timeline",
"targets": [
{
"expr": "models{status=\"ACTIVE\"}",
"legendFormat": "{{version}} (ACTIVE)"
},
{
"expr": "models{status=\"CANDIDATE\"}",
"legendFormat": "{{version}} (CANDIDATE)"
},
{
"expr": "models{status=\"ARCHIVED\"}",
"legendFormat": "{{version}} (ARCHIVED)"
}
]
},
{
"datasource": { "type": "prometheus", "uid": "prometheus" },
"fieldConfig": { "defaults": { "unit": "percentunit", "min": 0, "max": 1 } },
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 8 },
"id": 4,
"title": "F1 Score by Model Version",
"type": "timeseries",
"targets": [
{
"expr": "models_f1_score",
"legendFormat": "{{version}}"
}
]
},
{
"datasource": { "type": "prometheus", "uid": "prometheus" },
"fieldConfig": { "defaults": { "unit": "percentunit", "max": 1 } },
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 8 },
"id": 5,
"title": "ECE by Model Version",
"type": "timeseries",
"targets": [
{
"expr": "models_ece_score",
"legendFormat": "{{version}}"
}
]
}
],
"schemaVersion": 38,
"style": "dark",
"tags": ["VideoDetect"],
"templating": { "list": [] },
"time": { "from": "now-24h", "to": "now" },
"timepicker": {},
"title": "VideoDetect - Active Learning",
"uid": "videodetect-active-learning",
"version": 1
}