Sign inSign up

honeylogic/eth_exporter

By honeylogic

•Updated over 7 years ago

Image
0

1.4K

honeylogic/eth_exporter repository overview

⁠Parity Eth Exporter

A Parity⁠ exporter for Prometheus.

This parity exporter sets focus on a network overview and an overview of the cryptoeconomics. To get insights of each nodes status(as sync time, current block) use the Parity Exporter⁠

⁠Configuration

The configuration is in YAML, an example with common options:

---
rpcUrl: 'http://localhost:8545'
port: '9998'
NameDescription
rpcUrlOptional. The rpcUrl to the Parity client. Default http://localhost:8545⁠.
portOptional. The port to expose the metrics at. Default 9998.
addressesOptional. The address and alias of an address' balance that you would like to track.

⁠Exported Metrics

All metrics are exported as gauges.

MetricMeaningLabels
parity_upIndicates if the Parity client is up or not
parity_versionThe Parity client version
parity_transaction_queueThe current transaction queue
parity_address_balanceBalance of addresses that you specified in the config
parity_gas_priceCurrent gas price in Wei
parity_total_block_difficultyTotal difficulty of a block
parity_block_gas_usedBlock gas usage
parity_block_sizeBlock size
parity_block_gas_limitBlock gas limit
parity_block_latest_minerThe latest block miner

⁠Docker Image

To run the Parity exporter on Docker, you can use the honeylogic/ethereum-exporter⁠ image. It exposes port 9997 and expects the config in /app/config.yml. To configure it, you can bind-mount a config from your host:

$ docker run -p 9998:9998 -v /path/on/host/config.yml:/app/config.yml honeylogic/parity_exporter

Specify the config as the CMD:

$ docker run -p 9998:9998 -v /path/on/host/config.yml:/config/config.yml honeylogic/parity_exporter --config /config/config.yml

⁠Contributing

npm build to build.

npm start to run.

Tag summary

Content type

Image

Digest

Size

55.3 MB

Last updated

over 7 years ago

docker pull honeylogic/eth_exporter