{"id":13586517,"url":"https://github.com/jvstein/bitcoin-prometheus-exporter","last_synced_at":"2025-04-07T15:32:13.057Z","repository":{"id":44767802,"uuid":"199211555","full_name":"jvstein/bitcoin-prometheus-exporter","owner":"jvstein","description":"Prometheus exporter for Bitcoin Core nodes","archived":false,"fork":false,"pushed_at":"2024-02-13T23:01:36.000Z","size":98,"stargazers_count":62,"open_issues_count":5,"forks_count":33,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-02-14T21:29:12.543Z","etag":null,"topics":["bitcoin","docker","prometheus","prometheus-exporter"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jvstein.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-27T20:42:00.000Z","updated_at":"2024-08-01T16:32:37.612Z","dependencies_parsed_at":"2024-08-01T16:32:30.378Z","dependency_job_id":null,"html_url":"https://github.com/jvstein/bitcoin-prometheus-exporter","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvstein%2Fbitcoin-prometheus-exporter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvstein%2Fbitcoin-prometheus-exporter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvstein%2Fbitcoin-prometheus-exporter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jvstein%2Fbitcoin-prometheus-exporter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jvstein","download_url":"https://codeload.github.com/jvstein/bitcoin-prometheus-exporter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247679694,"owners_count":20978101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bitcoin","docker","prometheus","prometheus-exporter"],"created_at":"2024-08-01T15:05:37.588Z","updated_at":"2025-04-07T15:32:12.697Z","avatar_url":"https://github.com/jvstein.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# Bitcoin Core Prometheus Exporter\n\nA [Prometheus] exporter for [Bitcoin Core] nodes written in python and packaged for running as a container.\n\nA rudimentary Grafana [dashboard] is available in the [`dashboard/bitcoin-grafana.json`](dashboard/bitcoin-grafana.json)\nfile.\n\nThe main script is a modified version of [`bitcoin-monitor.py`][source-gist], updated to remove the need for the\n`bitcoin-cli` binary, packaged into a [Docker image][docker-image], and expanded to export additional metrics.\n\n[Bitcoin Core]: https://github.com/bitcoin/bitcoin\n[Prometheus]: https://github.com/prometheus/prometheus\n[docker-image]: https://hub.docker.com/r/jvstein/bitcoin-prometheus-exporter\n\n[source-gist]: https://gist.github.com/ageis/a0623ae6ec9cfc72e5cb6bde5754ab1f\n[python-bitcoinlib]: https://github.com/petertodd/python-bitcoinlib\n[dashboard]: https://grafana.com/grafana/dashboards/11274\n\n# Run the container\n```\ndocker run \\\n    --name=bitcoin-exporter \\\n    -p 9332:9332 \\\n    -e BITCOIN_RPC_HOST=bitcoin-node \\\n    -e BITCOIN_RPC_USER=alice \\\n    -e BITCOIN_RPC_PASSWORD=DONT_USE_THIS_YOU_WILL_GET_ROBBED_8ak1gI25KFTvjovL3gAM967mies3E= \\\n    jvstein/bitcoin-prometheus-exporter:v0.7.0\n```\n\n## Basic Testing\nThere's a [`docker-compose.yml`](docker-compose.yml) file in the repository that references a test bitcoin node. To\ntest changes to the exporter in docker, run the following commands.\n\n```\ndocker-compose down\ndocker-compose build\ndocker-compose up\n```\n\nIf you see a lot of `ConnectionRefusedError` errors, run `chmod og+r test-bitcoin.conf`.\n\n# [Change Log](CHANGELOG.md)\nSee the [`CHANGELOG.md`](CHANGELOG.md) file for changes.\n\n# Other Exporters\n - [Rust port](https://github.com/eburghar/bitcoin-exporter)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjvstein%2Fbitcoin-prometheus-exporter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjvstein%2Fbitcoin-prometheus-exporter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjvstein%2Fbitcoin-prometheus-exporter/lists"}