hunterlong/gethexporter

Service fails when request is made

Closed this issue · 2 comments

0x234 commented

curl localhost:9090/metrics

2019/01/10 08:12:08 http: panic serving [::1]:41566: runtime error: invalid memory address or nil pointer dereference
0x234 commented

This happens if the geth instance does not have :8545 added to the GETH env

I fixed the panic from happening. Also added a ADDRESSES ENV var that can log specific wallet addresses.