
- Infrastructure complète de traitement de documents notariaux - API FastAPI d'ingestion et d'orchestration - Pipelines Celery pour le traitement asynchrone - Support des formats PDF, JPEG, PNG, TIFF, HEIC - OCR avec Tesseract et correction lexicale - Classification automatique des documents avec Ollama - Extraction de données structurées - Indexation dans AnythingLLM et OpenSearch - Système de vérifications et contrôles métier - Base de données PostgreSQL pour le métier - Stockage objet avec MinIO - Base de données graphe Neo4j - Recherche plein-texte avec OpenSearch - Supervision avec Prometheus et Grafana - Scripts d'installation pour Debian - Documentation complète - Tests unitaires et de performance - Service systemd pour le déploiement - Scripts de déploiement automatisés
172 lines
3.7 KiB
JSON
172 lines
3.7 KiB
JSON
{
|
|
"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"
|
|
}
|
|
}
|