tlex / geth-exporter Goto Github PK
View Code? Open in Web Editor NEWNot maintained anymore (except for merge requests): go-Ethereum exporter for Prometheus written in Python
License: MIT License
Not maintained anymore (except for merge requests): go-Ethereum exporter for Prometheus written in Python
License: MIT License
Getting this error:
-- Logs begin at Wed 2020-04-01 19:23:43 CEST. --
Aug 28 16:12:50 ethnode-c4abc6966 geth-exporter[267037]: ModuleNotFoundError: No module named 'web3'
Aug 28 16:12:50 ethnode-c4abc6966 systemd[1]: geth-exporter.service: Main process exited, code=exited, status=1/FAILURE
Aug 28 16:12:50 ethnode-c4abc6966 systemd[1]: geth-exporter.service: Failed with result 'exit-code'.
Aug 28 16:23:16 ethnode-c4abc6966 systemd[1]: Started Geth Exporter.
Aug 28 16:23:16 ethnode-c4abc6966 geth-exporter[267172]: Traceback (most recent call last):
Aug 28 16:23:16 ethnode-c4abc6966 geth-exporter[267172]: File "/usr/local/bin/geth-exporter", line 10, in <module>
Aug 28 16:23:16 ethnode-c4abc6966 geth-exporter[267172]: from web3 import Web3, RPCProvider
Aug 28 16:23:16 ethnode-c4abc6966 geth-exporter[267172]: ModuleNotFoundError: No module named 'web3'
Aug 28 16:23:16 ethnode-c4abc6966 systemd[1]: geth-exporter.service: Main process exited, code=exited, status=1/FAILURE
Aug 28 16:23:16 ethnode-c4abc6966 systemd[1]: geth-exporter.service: Failed with result 'exit-code'.
I'm using different flags for --rpc and --rpcapi because geth --help tells me those are deprecated:
--rpc Enable the HTTP-RPC server (deprecated, use --http)
--rpcapi value API's offered over the HTTP-RPC interface (deprecated, use --http.api)
Currently running geth with these flags (in addition to Eth2 Medalla beacon and validator):
ARGS="--goerli --datadir /home/ethereum/Goerli --metrics --metrics.expensive --pprof --maxpeers 100 --http --http.api db,eth,net,web3,personal"
How do I get geth-exporter to work correctly without the web3 Module error?
Add docker build
The base image for the CI job doesn't exist anymore. Use the upstream image instead. Also update to buster.
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.