2021-10-26 18:36:12 +02:00
|
|
|
run with:
|
|
|
|
|
2021-10-26 18:36:59 +02:00
|
|
|
```
|
2021-10-26 18:36:12 +02:00
|
|
|
pip3 install prometheus_client
|
|
|
|
LBCCTL_PATH=/home/ubuntu/lbcd/lbcctl PROMETHEUS_PORT=2114 python3.7 monitor.py &
|
2021-10-26 18:36:59 +02:00
|
|
|
```
|
2021-10-26 18:36:12 +02:00
|
|
|
|
|
|
|
everything else is WIP and copied from https://github.com/jvstein/bitcoin-prometheus-exporter
|
|
|
|
|
|
|
|
docker stuff is unfinished. here's where i left off:
|
|
|
|
|
|
|
|
to build: `docker build -t lbcd-monitor .`
|