hunterlong / gethexporter Goto Github PK
View Code? Open in Web Editor NEWMonitor your Geth Ethereum Server with Prometheus and Grafana
Home Page: https://grafana.com/dashboards/6976
Monitor your Geth Ethereum Server with Prometheus and Grafana
Home Page: https://grafana.com/dashboards/6976
Actually, if you use this method to count ERC-20 transfers, you skip more than 50% of all Token transfers, because quite a few transfers are done via transfer
method. The correct way is to monitor Transfer
event in the transaction log.
I started the Docker container, and binded the ports
It seems to work, and querying curl http://gethexplorer:9090/metrics
does return the expected data.
However, when I try to add this as a datasource in grafana, I get the following error:
Error reading Prometheus: client_error: client error: 404
Not that if I target another host/port, I get a different error (dial tcp 172.18.0.7:9091: connect: connection refused
). My understanding is that Grafana is expecting the /api/v1/query
to be available, but that is not the case.
Is this docker image using an old version of prometheus that grafana doesn't support ? Is there another way to configure grafana ?
curl localhost:9090/metrics
2019/01/10 08:12:08 http: panic serving [::1]:41566: runtime error: invalid memory address or nil pointer dereference
how can i add mgasps data on the dashboard ?
i can't find the info anywhere
Hi, is it possible to add current ethereum block value (from here as an example: https://etherscan.io/blocks)?
I want to use this metric to check if node is synced. If it will be useful i can prepare PR.
Dear Developer;
i have installed and fully synced my raspberry pi 4 eth node from this build;
https://ethereum.org/fr/developers/tutorials/run-node-raspberry-pi/
it comes with prometheus app. I'm importing your following application into prometheus;
https://github.com/hunterlong/gethexporter
when i visit the dashboard all values comes with N/A values. What should i do to use your application? Just installed docker and runned the the commandline code. It came with hunterlog / getexplorer not found error.
thank you!
OS: Ubuntu 21.10 arm64
Attempted steps:
I get the following failure:
# github.com/ethereum/go-ethereum/common/math
../../ethereum/go-ethereum/common/math/integer.go:84:21: undefined: bits.Sub64
../../ethereum/go-ethereum/common/math/integer.go:90:19: undefined: bits.Add64
../../ethereum/go-ethereum/common/math/integer.go:96:12: undefined: bits.Mul64
# github.com/ethereum/go-ethereum/rlp
../../ethereum/go-ethereum/rlp/encode.go:353:43: val.Field(fields[lastField].index).IsZero undefined (type reflect.Value has no field or method IsZero)
# github.com/ethereum/go-ethereum/params
../../ethereum/go-ethereum/params/config.go:60:36: syntax error: unexpected _150_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:61:36: syntax error: unexpected _920_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:63:36: syntax error: unexpected _463_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:65:36: syntax error: unexpected _675_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:66:36: syntax error: unexpected _675_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:67:36: syntax error: unexpected _370_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:68:36: syntax error: unexpected _280_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:69:36: syntax error: unexpected _280_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:70:36: syntax error: unexpected _069_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:71:36: syntax error: unexpected _200_000, expecting comma or )
../../ethereum/go-ethereum/params/config.go:71:36: too many errors
# github.com/ethereum/go-ethereum/rpc
../../ethereum/go-ethereum/rpc/http.go:179:14: undefined: http.NewRequestWithContext
../../ethereum/go-ethereum/rpc/http.go:188:25: hc.headers.Clone undefined (type http.Header has no field or method Clone)
I seem to be having an issue accessing the dashboard from the external IP, As far as I can see the node is connected and the dashboard is running it the docker container.
Any help would be greatly appreciated!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.