0.4.0 - 2020-01-05
Added
- New counter metric
bitcoin_exporter_process_time_total
for time spent refreshing the metrics. - New
bitcoin_verification_progress
metric to track chain verification progress (#5). - Use
logging
for output messages and improve level of output for errors (#4). - Add docker-compose config with basic setup for testing regressions.
Changed
- Retry failed RPC calls with exponential timeout using riprova and keep track of retry exceptions using new
bitcoin_exporter_errors
metric. - Improved error message when credentials are incorrect.
- Make smartfee metrics configurable using
SMARTFEE_BLOCKS
environment variable. - Update script shebang to use PATH (#6)
- Prefer the
$HOME/.bitcoin/bitcoin.conf
file overBITCOIN_RPC_HOST
,BITCOIN_RPC_USER
, ... if it exists (#7). - Add pre-commit hooks for catching style and code issues.
- Added type annotations and no longer attempting to support less than Python 3.7.