Monitoring / README.md
Kahouli's picture
Update README.md
bc4f4a7 verified
|
Raw
History Blame Contribute Delete
1.4 kB
---
title: NER Monitoring C10
emoji: 📊
colorFrom: blue
colorTo: purple
sdk: docker
app_file: app.py
pinned: false
short_description: Grafana + Prometheus monitoring
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# 📊 NER Monitoring — Magento B2B C10
Dashboard de monitoring **Grafana + Prometheus** pour surveiller l'API NER du projet C10.
## 🔗 Accès
- **Grafana** : directement sur ce Space (port 7860)
- Login : `admin` / `admin`
- Dashboard : **🛒 Magento NER API — Monitoring C10** (chargé automatiquement)
## 📈 Métriques surveillées
| Métrique | Description |
|---|---|
| `ner_availability` | 1 = UP, 0 = DOWN |
| `ner_http_latency_ms` | Latence HTTP totale (client → HF → client) |
| `ner_response_time_ms` | Temps de traitement NER interne |
| `ner_entities_count` | Nombre d'entités extraites (PRODUCT, SKU, QUANTITY, CATEGORY) |
| `ner_requests_total` | Total requêtes envoyées |
| `ner_errors_total` | Total erreurs |
## 🏗️ Architecture
```
[Grafana :7860] ← [Prometheus :9090] ← [Python Exporter :9100]
POST /ner (kahouli-magento-ner-api.hf.space)
```
## ⚙️ Stack
- **Prometheus** 2.51.2
- **Grafana** 10.4.2
- **Python** 3.11 + prometheus-client
- **Supervisor** pour orchestrer les 3 processus