Windows Prometheus Exporter Windows Step By Step Guide

So this is a guide for people that want to utilize Grafana to monitor nodes and the statistics. This Guide goes through python installation and all of above. This is setup on windows server 2016 but tested on windows 10.

So the first thing is to prepare all the things we need. I will be working on desktop but this can be performed anywhere.

Start by downloading:
Latest Python Welcome to Python.org
Than download as zip anclrii/Storj-Exporter

The first thing is to install Python
1, tick “Add Python 3.9 to PATH”
image

2, Custom installation
image

3,Keep settings as shown and click “Next”
image

4, The next page is up to you but these are my choices that work for me
And press “Install”
image

So Congrats now we have Python Installed

We can start with the anclrii Storj-Exporter

1, Unzip the file into the desired location (in my case my desktop)

2, Open folder and copy its path

3, open CMD and type
cd followed by the path of folder
in my case:

cd C:\Users\Admin\Desktop\Storj-Exporter-master

afterwards perform command as shown below

pip install --no-cache-dir -r requirements.txt

The CMD should looks afterwards like this:

Now you can open the folder again and run “storj-exporter.py”

And that’s it it is that simple to install
Congratulations your storj exporter should be up and running.

For the exporter all credit goes to anclrii

7 Likes

Hi, could you update a guide to the current version of Explorer?

Sorry at this moment I’m trying it my self out. Once I figure it out fully I will immediately. For now if you need the older version works. Hopefully whit-in a week I will update it, if you need it ASAP and can’t find the old files I can send you a repo. Let me know if there is anything else I can do for you.

Thanks, there is an old version, just wanted to know if there will be a guide for the new version. I will wait as long as necessary. Thanks for your guide.

No problem happy that people use it. Ye will update it. Thanks for the good words.

1 Like

Sorry to necro this thread but is it still valid? I followed the instructions down to “run storj-exporter.py” which I can’t find anywhere.

Hello @istoppedcaringat30,
Welcome to the forum!

You now need to run

python3 C:\Users\User\Desktop\Storj-Exporter\storj_exporter\

if it’s placed there.

Thanks. Seems to be stuck on starting WSGI server. Are there any special firewall rules that need setup for that port or just an outgoing tcp/udp rule for 9651?

That’s just the last post it makes, it’s up and running normal… check your prometheus instance, it’ll be there. You may consider making exporter instances a service - with Nssm, or Windows SC, if it’s not in a Docker Container (I can’t tell, but looks like it from your screen shot)

2 cents

1 Like

Got ya. Prometheus isn’t receiving anything so I wasn’t sure if that was the issue.

Prometheus should scrap the metrics, it’s working in a pull mode. The exporter will not send metrics to Prometheus.
So, please make sure that you allowed that port in your firewall.