Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Program terminates if encountering one HTTP error #5

Open
Neozaru opened this issue Jun 28, 2020 · 1 comment
Open

[Bug] Program terminates if encountering one HTTP error #5

Neozaru opened this issue Jun 28, 2020 · 1 comment

Comments

@Neozaru
Copy link

Neozaru commented Jun 28, 2020

Hi. First thanks for this programs that allows me to track easily plenty of metrics for my node.

I ran the command yesterday on my personal server so I can begin collecting metrics 24/7.
However the betanet RPC probably had some downtime at some point, which made the exporter's HTTP request fail.

(2020-06-28 20:37:30) ./main  -url https://rpc.betanet.near.org -accountId neozaru.stakehouse.betanet
2020/06/28 07:06:52 Post "https://rpc.betanet.near.org": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

Bug : After this message, the exporter stopped so data was no longer available for Prometheus and Grafana.
Proposed solution : Continue reporting connection issues with the RPC but not stopping the program when such an error occurs.

Have a good day

@masknetgoal634
Copy link
Owner

Hi Neozaru,
Sorry for delay. I fixed it up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants