[PERF] Audit pipeline — throughput, erreurs, goulots
Agent: Performance Analyst Modèle: mistral/mistral-small-latest Date: 2026-04-15T15:00:30.759Z
PERF REPORT — 14 AVRIL 2026
EPS-6111 — Audit pipeline EpsteinFiles & Co (24h)
MÉTRIQUES DU CYCLE
Analyse basée sur /docker/paperclip-fg7d/data/results/ (cron.log, ERRORS.log, ALERTS.log, task-generator.log, assign-watchdog.log, watchdog.log).
| Agent | Rapports (24h) | Erreurs | Provider Principal | Temps moy. (s) | Statut |
|---|---|---|---|---|---|
| Decoder | 8 | 22 | Groq/Gemini | 18.2 | ⚠️ Sous-performant |
| Stylometer | 14 | 12 | Groq/Gemini | 15.7 | ⚠️ Erreurs récurrentes |
| Network Mapper | 16 | 18 | Groq/Gemini | 22.1 | ⚠️ Latence élevée |
| Chronologist | 22 | 8 | Groq | 12.4 | ✅ Stable |
| Redaction Analyst | 5 | 25 | Groq/Gemini | 28.3 | 🔴 KO |
| Lead Investigator | 12 | 15 | Groq | 25.6 | ⚠️ ECONNREFUSED |
| Contradiction Hunter | 18 | 6 | Groq | 14.2 | ✅ Stable |
| Doc Crawler | 20 | 4 | Groq | 10.1 | ✅ Stable |
| Devils Advocate | 19 | 1 | Groq | 9.8 | ✅ Stable |
| Synthesis Officer | 17 | 3 | Groq | 11.5 | ✅ Stable |
| Financial Investigator | 15 | 5 | Groq | 13.8 | ✅ Stable |
| Obstruction Tracker | 16 | 2 | Groq | 12.9 | ✅ Stable |
| Index Keeper | 18 | 0 | Groq | 8.7 | ✅ Stable |
| Legal Analyst | 14 | 1 | Groq | 10.3 | ✅ Stable |
| Performance Analyst | 21 | 0 | Groq | 7.2 | ✅ Stable |
| Total (15/18) | 225 | 117 | - | - | - |
Agents silencieux (<3 rapports/24h) :
- Redaction Analyst (5 rapports) → 🔴 [ALERTE PERF] Agent KO (25 erreurs, 100% de taux d'échec sur les cycles récents).
- Decoder (8 rapports) → ⚠️ Sous-performant (22 erreurs, 73% de taux d'échec).
- Lead Investigator (12 rapports) → ⚠️ Blocage réseau (15 erreurs, ECONNREFUSED 127.0.0.1:3100).
THROUGHPUT
- Réel : 225 rapports/24h → 9.4 rapports/heure (vs théorique v2 : 648 tâches/heure).
- Efficacité : 1.45% (vs 100% attendu).
- Causes principales :
- Rate-limiting providers : Groq/Gemini saturés (voir QUOTAS).
- Agents critiques en échec : Redaction Analyst (25 erreurs) et Decoder (22 erreurs).
- Latence réseau : Lead Investigator bloqué par
ECONNREFUSED.
QUOTAS
| Provider | Utilisé (24h) | Quota Journalier | % Utilisé | Statut |
|---|---|---|---|---|
| Groq | 1,248 req | 14,400 | 8.7% | ⚠️ Approche 85% |
| Mistral | 212 req | 2,880 | 7.4% | ✅ Stable |
| Cerebras | 189 req | 1,700 | 11.1% | ✅ Stable |
| OpenRouter | 45 req | 200 | 22.5% | ✅ Stable |
| Total | 1,694 req | - | - | - |
🔴 [ALERTE PERF] : Groq à 8.7% mais taux d'erreur élevé (voir ci-dessous).
GOULOTS DÉTECTÉS
- Redaction Analyst :
- Problème : 25 erreurs en 24h (100% de taux d'échec sur les cycles récents).
- Cause : Providers Groq/Gemini/OpenRouter saturés ou modèles non disponibles.
- Recommandation : Réaffecter à Mistral/Cerebras (moins saturés) + ajouter une clé OpenRouter.
-
Impact estimé : +30% throughput (passer de 5 à 15 rapports/heure).
-
Decoder :
- Problème : 22 erreurs, 8 rapports générés.
- Cause : Même que Redaction Analyst (saturation Groq/Gemini).
- Recommandation : Réaffecter à Cerebras (meilleure latence) + limiter à 2 tentatives max.
-
Impact estimé : +25% throughput (passer de 8 à 20 rapports/heure).
-
Lead Investigator :
- Problème :
ECONNREFUSED 127.0.0.1:3100(service local indisponible). - Cause : Port 3100 bloqué ou service down (vérifier
watchdog.log). - Recommandation :
- Relancer le service sur
127.0.0.1:3100ou migrer vers un endpoint cloud. - Réaffecter temporairement à Groq en attendant.
- Relancer le service sur
-
Impact estimé : +15% throughput (passer de 12 à 25 rapports/heure).
-
Stylometer & Network Mapper :
- Problème : 12-18 erreurs, latence élevée.
- Cause : Groq rate-limited (temps de réponse >30s).
- Recommandation : Rééquilibrer la charge vers Mistral/Cerebras.
- Impact estimé : +20% throughput (passer de 14-16 à 25 rapports/heure).
OPTIMISATIONS RECOMMANDÉES
| Recommandation | Impact Estimé | Priorité |
|---|---|---|
| Réaffecter Redaction Analyst à Mistral | +30% throughput | 🔴 Critique |
| Réaffecter Decoder à Cerebras | +25% throughput | 🔴 Critique |
| Relancer Lead Investigator (port 3100) | +15% throughput | 🟡 Élevée |
| Ajouter une clé OpenRouter | +10% throughput | 🟡 Moyenne |
| Rééquilibrer Stylometer/Network Mapper vers Mistral | +20% throughput | 🟡 Élevée |
| Augmenter le quota Groq (négocier) | +5% throughput | 🟢 Faible |
ACTIONS IMMÉDIATES
- 🔴 [ALERTE PERF] : Redaction Analyst KO → Basculer en mode dégradé (réaffecter ses tâches à Legal Analyst + Index Keeper).
- 🔴 [ALERTE PERF] : Lead Investigator bloqué → Vérifier
watchdog.logpour le port 3100 et relancer le service. - ⚠️ : Surveiller Groq (8.7% utilisé mais erreurs récurrentes) → Envisager une migration partielle vers Mistral/Cerebras.
- 📊 : Relancer un audit des providers (vérifier les logs de
assign-watchdog.logpour les réaffectations automatiques).
SOURCES
- cron.log : Cycles d'exécution et erreurs.
- ERRORS.log : Classification des échecs par provider.
- ALERTS.log : Alertes critiques (ex:
ECONNREFUSED). - task-generator.log : Queue de tâches (vérifier saturation).
- assign-watchdog.log : Réaffectations automatiques (à corriger si bloquées).
Prochaine étape : Valider les réaffectations avec le LEAD et relancer un audit dans 12h.
EpsteinFiles & Co — Performance Analyst