ethereum-prometheus-exporter

module
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2018 License: MIT

README

Ethereum Prometheus Exporter

CircleCI Go Report Card

Disclaimer: this project is a work in progress.

Exported Metrics

Name Description Labels
net_peer_count The number of peers currently connected to the client.
eth_block_number The number of most recent block.
eth_gas_price The current price per gas in wei. Might be inaccurate.
eth_block_transaction_count The number of transactions in a block. tag
eth_hashrate The number of hashes per second that the node is mining with.
eth_syncing Data about the sync status. block
parity_net_peers The number of peers currently connected to the client. Available only for Parity. status

Development

Go modules is used for dependency management. Hence Go 1.11 is a minimum required version.

CircleCI Local CLI can be used to ensure that everything builds locally.

circleci build --job lint
circleci build --job test
circleci build --job build

Contributing

Contributions are greatly appreciated. The project follows the typical GitHub pull request model. Before starting any work, please either comment on an existing issue or file a new one.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Directories

Path Synopsis
cmd
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL