hirosystems / hirosystems/stacks-devnet-api

revisit log levels

Aperta
#100 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Rust
Stelle
2
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Logs are quite noisy.

We currently log all internal K8s requests to `INFO`. We should probably downgrade these to `DEBUG` to reduce noise. I think it would be nice to see:
- `ERROR` - the Devnet API can't handle something and is broken - should prompt a response
- `WARN` - a user's Devnet instance encounters a problem, or there's an invalid request made
- `INFO` - a user makes a request to the devnet (just one log/request)
- `DEBUG` - the internal requests that the Devnet API makes to the k8s API

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

No files or tests are named. Start by locating the Devnet API's logging for internal Kubernetes requests and user requests, then trace how errors and invalid requests are classified. Done means the four stated levels are applied consistently, with internal Kubernetes traffic at DEBUG and one INFO entry per user request.

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

Valutazione

Stack tecnologico
kubernetes, rust
Ambito
backend-api-design, observability
Tipo di issue
Refactoring
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.