{ "dashboard": { "id": null, "title": "Pipeline Notarial - Vue d'ensemble", "tags": ["notariat", "pipeline"], "style": "dark", "timezone": "browser", "panels": [ { "id": 1, "title": "Documents traités par heure", "type": "stat", "targets": [ { "expr": "rate(notariat_documents_processed_total[1h])", "legendFormat": "Documents/heure" } ], "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" }, "custom": { "displayMode": "basic" } } }, "gridPos": { "h": 8, "w": 6, "x": 0, "y": 0 } }, { "id": 2, "title": "Taux d'erreur par étape", "type": "timeseries", "targets": [ { "expr": "rate(notariat_pipeline_errors_total[5m])", "legendFormat": "{{step}}" } ], "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" } } }, "gridPos": { "h": 8, "w": 12, "x": 6, "y": 0 } }, { "id": 3, "title": "Latence de traitement", "type": "timeseries", "targets": [ { "expr": "histogram_quantile(0.95, rate(notariat_pipeline_duration_seconds_bucket[5m]))", "legendFormat": "P95" }, { "expr": "histogram_quantile(0.50, rate(notariat_pipeline_duration_seconds_bucket[5m]))", "legendFormat": "P50" } ], "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" } } }, "gridPos": { "h": 8, "w": 6, "x": 18, "y": 0 } }, { "id": 4, "title": "Qualité OCR", "type": "timeseries", "targets": [ { "expr": "avg(notariat_ocr_confidence)", "legendFormat": "Confiance moyenne" } ], "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" } } }, "gridPos": { "h": 8, "w": 6, "x": 0, "y": 8 } }, { "id": 5, "title": "Classification par type", "type": "piechart", "targets": [ { "expr": "sum(notariat_documents_classified_total) by (document_type)", "legendFormat": "{{document_type}}" } ], "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" } } }, "gridPos": { "h": 8, "w": 12, "x": 6, "y": 8 } }, { "id": 6, "title": "Utilisation des ressources", "type": "timeseries", "targets": [ { "expr": "rate(container_cpu_usage_seconds_total[5m])", "legendFormat": "CPU {{container}}" }, { "expr": "container_memory_usage_bytes", "legendFormat": "Mémoire {{container}}" } ], "fieldConfig": { "defaults": { "color": { "mode": "palette-classic" } } }, "gridPos": { "h": 8, "w": 6, "x": 18, "y": 8 } } ], "time": { "from": "now-1h", "to": "now" }, "refresh": "30s" } }