graphprotocol / graphprotocol/graph-node
[Feature] Differentiate prometheus metric for large vs non-large notifications
Nessuno ha ancora preso questa issue.
- Lingua principale
- Rust
- Stelle
- 3.2k
- Fork
- 1.1k
- Merge medio
- 4g 1h
- PR unite (30g)
- 1
Descrizione
Description
It would be great if there was a prometheus metric which captures the count of large notifications. We have a counter for all notifications, it would be great if either there was a separate counter for large notifications or a field which differentiates large vs small in the global counter.
Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.
Nope
Some information to help us out
- Tick this box if you plan on implementing this feature yourself.
- I have searched the issue tracker to make sure this issue is not a duplicate.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia con il contatore delle notifiche esistente in store/postgres/src/notification_listener.rs, alle righe collegate 394-396. Traccia come la dimensione della notifica è disponibile in quel punto di ingresso e scegli la rappresentazione della metrica richiesta nell’issue. Il lavoro è completato quando Prometheus espone contatori che distinguono le notifiche grandi da quelle non grandi.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- prometheus, rust
- Ambito
- observability
- Tipo di issue
- Funzionalità
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 55/100