Code Monkey home page Code Monkey logo

bitcoind_exporter's Introduction

Bitcoin Daemon Exporter

Docker Pulls Go Report Card

Export statistics from bitcoind to Prometheus.

Metrics are retrieved using calls to the JSON-RPC interface of the bitcoin daemon.

To run it:

go build
./bitcoind_exporter [flags]

Exported Metrics

Metric Description Labels
bitcoind_blockchain_blocks_validated_total Current number of blocks processed in the server. chain
bitcoind_blockchain_headers_validated_total Current number of headers processed in the server. chain
bitcoind_blockchain_difficulty The proof-of-work difficulty as a multiple of the minimum difficulty. chain
bitcoind_blockchain_size_bytes Estimated size of the block and undo files on disk. chain
bitcoind_blockchain_initial_download Estimate of whether the node is in initial block download mode. chain
bitcoind_network_connections_count Number of connections to other nodes.
bitcoind_network_receive_bytes_total Total bytes received over the network.
bitcoind_network_sent_bytes_total Total bytes sent over the network.
bitcoind_mempool_transactions_count Number of transcations in the mempool.
bitcoind_exporter_collect_error Error occured during collection. collector
bitcoind_exporter_collector_duration_seconds Collector time duration. collector

Labels

Label Description
chain Current network name as defined in BIP70 (main, test, regtest)
collector Internal name of the collector (mempool, network, blockchain)

Using Docker

You can deploy this exporter using the skreuzer/bitcoind_exporter Docker image.

For example:

docker pull skreuzer/bitcoind_exporter

docker run -d \
  -e BITCOIND_RPC_ADDRESS=172.16.0.1:8332 \
  -e BITCOIND_RPC_PASSWORD=j9JkYnPIxwQgRzG3qAA \
  -e BITCOIND_RPC_USER=bitcoin-rpc-user \
  -p 9960:9960 \
  skreuzer/bitcoind_exporter

License

This project is licensed under the BSD 2-Clause License - see the LICENSE file for details.

bitcoind_exporter's People

Contributors

dependabot[bot] avatar skreuzer avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.