yes, follow @kevink guide, but when it talks about local host, put in the IP address of machine.
Virtualbox is much, much, much easier than WSL2
but wanted to give option incase you want to try.
Exporter Changes Summary for multi node
The main change is on the exporter, I point it at the Storj IP address of my nodes - you will need to run one exporter per node I think, so;
To monitor 1st Storj node, make sure --name is unique, make sure -p 9651 matches STORJ_EXPORTER_PORT, and is unique for each node, so like;
sudo docker run -d \
--name=storj-exporter-storj1 \
-p 9651:9651 \
-e STORJ_API_PORT=14002 \
-e STORJ_HOST_ADDRESS=10.168.60.11 \
-e STORJ_EXPORTER_PORT=9651 \
anclrii/storj-exporter:latest
then run again for next node, like;
sudo docker run -d \
--name=storj-exporter-storj2 \
-p 9652:9652 \
-e STORJ_API_PORT=14002 \
-e STORJ_HOST_ADDRESS=172.16.16.12 \
-e STORJ_EXPORTER_PORT=9652 \
anclrii/storj-exporter:latest
Then on Prometheus config, you add each exporter to bring data in;
- job_name: storj02
scrape_interval: 30s
scrape_timeout: 20s
metrics_path: /
static_configs:
- targets: ["IP of machine running exporters:9652"] <- match storj_exporter_port
labels:
instance: "storj02"
- job_name: storj01
scrape_interval: 30s
scrape_timeout: 20s
metrics_path: /
static_configs:
- targets: ["IP of machine running exporters:9651"] <- match storj_exporter_port
labels:
instance: "storj01"
Sorry, not very good at explaining, you will work it out - i’m very much like Docker, just not under windows 