bitcoin-prometheus-exporter
bitcoin-prometheus-exporter copied to clipboard
Questions about bitcoin-python script
Dear Jeff,
I hope this message finds you well. I am writing to ask for some help with the bitcoin-python script. I have a bitcoind instance running and I would like to use the script to get information from it.
Firstly, I was wondering if you could clarify where the environment variables METRICS_ADDR and METRICS_PORT are located. I am not sure how to set these variables so that the script can connect to my bitcoind instance. I see the httpd is trying to bind to 8334 (already in use by bitcoind).
Besides RPC credentials, which other parts should I edit from the script to make it work?
Thank you very much for your time and help. I appreciate any guidance you can provide.
Best regards, Federico.
Federico,
I'm very sorry it took me so long to respond. I hope you were able to get it running.
How you set the environment variables depends on how you are running the script and on what operating system. I personally run it as a kubernetes pod. Others run it as a docker container, and still others run it as a plain script. To help, I would need to know a bit more about how you are running it.
Jeff