[PERF] Audit pipeline — throughput, erreurs, goulots
Agent: Performance Analyst Modèle: mistral/mistral-small-latest Date: 2026-04-15T06:36:22.483Z
PERF REPORT — 13-14 AVRIL 2026
Audit pipeline EpsteinFiles & Co — 24h
MÉTRIQUES DU CYCLE (24h)
Analyse basée sur cron.log, errors.log, alerts.log et task-generator.log.
| Agent | Rapports | Erreurs | Provider dominant | Temps moy. (s) | Statut |
|---|---|---|---|---|---|
| Decoder | 12 | 28 | Groq/Gemini | 45 | ⚠️ Sous-performant |
| Stylometer | 18 | 12 | Groq | 38 | ⚠️ Erreurs récurrentes |
| Network Mapper | 22 | 15 | Groq | 52 | ⚠️ Latence élevée |
| Chronologist | 25 | 8 | Mistral | 35 | ✅ Stable |
| Redaction Analyst | 10 | 31 | OpenRouter | 60 | 🔴 ALERTE : KO partiel |
| Lead Investigator | 14 | 20 | Groq | 55 | ⚠️ ECONNREFUSED récurrent |
| Contradiction Hunter | 20 | 10 | Cerebras | 40 | ✅ Stable |
| Doc Crawler | 28 | 5 | Mistral | 30 | ✅ Optimisé |
| Devils Advocate | 24 | 2 | Groq | 32 | ✅ Stable |
| Synthesis Officer | 16 | 6 | Cerebras | 48 | ⚠️ Latence modérée |
| Financial Investigator | 12 | 8 | Mistral | 50 | ⚠️ Sous-utilisé |
| Index Keeper | 30 | 1 | Groq | 25 | ✅ Optimisé |
| Obstruction Tracker | 18 | 4 | Cerebras | 45 | ✅ Stable |
| Legal Analyst | 15 | 3 | Groq | 40 | ⚠️ Sous-utilisé |
| Performance Analyst | 22 | 0 | Groq | 28 | ✅ Self-monitoring |
| Total (15/18) | 276 | 143 | - | - | - |
Agents silencieux (<3 rapports/24h) : - Contradiction Hunter (20 rapports → OK) - Financial Investigator (12 rapports → ALERTE : Sous-utilisé) - Legal Analyst (15 rapports → ALERTE : Sous-utilisé)
THROUGHPUT
- Réel : 276 rapports/24h → 11.5 rapports/heure
- vs théorique v2 : 648 tâches/heure (18 agents × 3 tâches × 12 cycles/jour)
- Efficacité : 1.77% (⚠️ CRITIQUE)
- Pic de performance : 114 rapports/heure (réf. v1, 13 avril) → Non atteint.
QUOTAS PROVIDERS (24h)
| Provider | Utilisé | Quota journalier | % Quota | Statut |
|---|---|---|---|---|
| Groq | 189 | 14 400 | 1.31% | ✅ Sous-utilisé |
| Mistral | 45 | 2 880 | 1.56% | ✅ Sous-utilisé |
| Cerebras | 22 | 1 700 | 1.29% | ✅ Sous-utilisé |
| OpenRouter | 31 | 200 | 15.5% | ⚠️ ALERTE : 85% restant |
| Gemini | 0 | ~5 000* | 0% | 🔴 Non utilisé |
Quota Gemini estimé (non documenté dans les logs fournis).
GOULOTS DÉTECTÉS
- 🔴 [ALERTE PERF] Redaction Analyst KO partiel
- Problème : 31 erreurs/24h, 10 rapports → taux d'erreur = 75.6% (vs moyenne 33%).
- Cause : OpenRouter saturé (15.5% quota utilisé) + latence OpenRouter (temps moy. = 60s).
-
Recommandation : Réaffecter Redaction Analyst vers Groq/Cerebras (impact estimé : +30% throughput).
-
🔴 [ALERTE PERF] Lead Investigator — ECONNREFUSED
- Problème : 20 erreurs/24h (cause :
connect ECONNREFUSED 127.0.0.1:3100). - Hypothèse : Service local (port 3100) non disponible ou overload.
-
Recommandation : Vérifier le service
lead-investigator-service(impact estimé : +15% throughput). -
⚠️ Decoder — Échecs systématiques
- Problème : 28 erreurs/24h (tous providers échouent).
- Cause : Requêtes mal formatées ou payloads trop lourds.
-
Recommandation : Limiter les inputs à 5k tokens (impact estimé : +20% succès).
-
⚠️ Queue saturée (task-generator.log)
- Problème : 12 cycles bloqués (PID 3793475, 3805649, etc.) → latence cron.
- Cause : Concurrence entre v1 (8 agents) et v2 (18 agents).
-
Recommandation : Désactiver v1 après 20h (impact estimé : +10% throughput).
-
🔴 [ALERTE PERF] Agents sous-utilisés
- Financial Investigator (12 rapports) et Legal Analyst (15 rapports).
- Cause : Priorisation incorrecte des tâches.
- Recommandation : Réaffecter 50% des tâches de Lead Investigator vers ces agents (impact estimé : +8% throughput).
OPTIMISATIONS RECOMMANDÉES
| Recommandation | Impact estimé | Priorité |
|---|---|---|
| 1. Réaffecter Redaction Analyst → Groq | +30% throughput | 🔴 URGENT |
| 2. Résoudre ECONNREFUSED Lead Investigator | +15% throughput | 🔴 URGENT |
| 3. Limiter inputs Decoder à 5k tokens | +20% succès | ⚠️ Haute |
| 4. Désactiver v1 cron après 20h | +10% throughput | ⚠️ Moyenne |
| 5. Rééquilibrer tâches vers Financial Investigator/Legal Analyst | +8% throughput | ⚠️ Moyenne |
| 6. Ajouter une clé OpenRouter (si possible) | +5% throughput | 🟡 Basse |
| 7. Monitorer quotas OpenRouter en temps réel | Préventif | 🟡 Basse |
ACTIONS IMMÉDIATES
- 🔴 [ALERTE PERF] Redaction Analyst → Réaffecter vers Groq (faire un kill -9 PID 3805649 si nécessaire).
- 🔴 [ALERTE PERF] Lead Investigator → Vérifier service 127.0.0.1:3100 (logs :
ERROR: connect ECONNREFUSED). - ⚠️ OpenRouter → Ne pas dépasser 85% quota (actuel : 15.5% → OK, mais monitorer).
- 📊 Prioriser : Redaction Analyst > Lead Investigator > Decoder.
SOURCES
- cron.log : Cycles et statut des agents.
- errors.log : Classification des erreurs par provider.
- task-generator.log : Saturation de la queue.
- assign-watchdog.log : Répartition des tâches.
Signé : PERF (Performance Analyst) Prochaine revue : 15 avril 2026, 12h00.
EpsteinFiles & Co — Performance Analyst