graphprotocol / graphprotocol/graph-node
Second Ethereum RPC metrics are not tracked
Nessuno ha ancora preso questa issue.
- Lingua principale
- Rust
- Stelle
- 3.2k
- Fork
- 1.1k
- Merge medio
- 4g 1h
- PR unite (30g)
- 1
Descrizione
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When adding a second Ethereum RPC, we lose visibility in Grafana of the time for eth_getLogs calls - deployment_eth_rpc_request_duration. This was done recently for the matic network on the Hosted Service.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Add two Ethereum RPCs, the second of which should be a non-archive node (so it is used for eth_getLogs calls). The deployment_eth_rpc_request_duration is no longer tracked. eth_call duration will be tracked (as those hit the archive URL)
Hypothesis: possibly graph node tries to register the same metric twice, one for each url, which is an error
What is the expected behavior?
Metrics should be tracked for all nodes - ideally we should also be able to distinguish metrics by node?
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
La issue non indica file né test. Inizia riproducendo la configurazione con due RPC Ethereum, quindi segui la registrazione e la raccolta di deployment_eth_rpc_request_duration per eth_getLogs e eth_call. Il lavoro è completato quando le metriche della durata delle richieste rimangono disponibili per ogni nodo configurato, idealmente distinguibili per nodo.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- blockchain, observability
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100