Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Application metrics of the API

Aperta
#717 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
docker, fastapi, grafana, prometheus, python

Direzione di ricerca

Start by locating the API's existing Prometheus export and the PROMETHEUS_ENABLED setting, then read roadmap issue #25 and scenarios 10 and 11 to identify the required alerts. Configure Alloy to collect the selected error, duration, validation queue, and fail-open metrics. Done means the metrics are visible in Grafana and both alerts exist.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

type: feat
Context & Objective

Part of the epic pyronear/roadmap#25 (Monitoring and alerting). The API has a Prometheus export, disabled today (PROMETHEUS_ENABLED=false). It would give the error rate, the request durations and the state of the validation queue.

What has to be done
  • Enable the export and choose the metrics: errors, durations, validation queue, sequences validated by fail-open (temporal model unreachable).
  • Collect them with Alloy and add the alerts of scenarios 10 and 11.
Done when
  • The metrics are visible in Grafana, and the two alerts exist
Lingua principale
Python
Stelle
30
Fork
15
Merge medio
4g 15h
PR unite (30g)
16

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di pyronear/pyro-api

Tutte le issue di pyronear/pyro-api

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.