--- 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