Hello forum. I am currently trying to get promethues exporter working. And no matter what i do i cant get my data out of docker?
My dashboards are working fine - so i whould think the api was good. I guess not.
I have 3 nodes in the following setup:
storj GUI windows: 14002 port
Docker10TB: 14003
Docker4TB: 14004
My run command for the 4TB node:
docker run -d --restart unless-stopped --stop-timeout 300 -p 28969:28967/tcp -p 28969:28967/udp -p 127.0.0.1:14004:14002 -e WALLET=“0xFBF22d386c10aeb329A8C245e99F9AB4Db92D16d” -e EMAIL=“xxx” -e ADDRESS=“83.89.251.143:28969” -e STORAGE=“3TB” --mount type=bind,source=“F:\Storj\Identity”,destination=/app/identity --mount type=bind,source=“F:\Storj\data”,destination=/app/config --name storagenode4TB storjlabs/storagenode:latest
My 10TB run command:
docker run -d --restart unless-stopped --stop-timeout 300 -p 28968:28967/tcp -p 28968:28967/udp -p 127.0.0.1:14003:14002 -e WALLET=“0xFBF22d386c10aeb329A8C245e99F9AB4Db92D16d” -e EMAIL=“xxx” -e ADDRESS=“83.89.251.143:28968” -e STORAGE=“10TB” --mount type=bind,source=“C:\Users\andre\AppData\Roaming\Storj\Identity2\Identity\storagenode”,destination=/app/identity --mount type=bind,source=“E:\StorjData”,destination=/app/config --name storagenode10TB storjlabs/storagenode:latest
And ofcourse all the dashboard as working as intended. But i just cant get the data extracted with promethues. I have so far tried these commands:
docker run -d --link=storagenode4TB --name=storj-exporter4TB -p 9651:9651 -e STORJ_HOST_ADDRESS=storagenode4TB anclrii/storj-exporter:latest
I get a page that cant load. so 100% not working.
i also did:
docker run -d --link=storagenode4TB --name=storj-exporter4TB -p 9651:9651 -e STORJ_HOST_ADDRESS=storagenode4TB:14002 anclrii/storj-exporter:latest
That does return a page but the data is not correct. and docker still seems to belive my nodes port is 14002.
I can also do:
docker run -d --link=storagenode4TB --name=storj-exporter4TB -p 9651:9651 -e STORJ_HOST_ADDRESS=localhost:14002 anclrii/storj-exporter:latest
and a page returns also with wrong/no data.
What am i doing wrong?!
Thanks guys
Tried this command also:
docker run -d --link=storagenode4TB --name=storj-exporter4TB -p 9651:9651 -e STORJ_HOST_ADDRESS=127.0.0.1:14002 anclrii/storj-exporter:latest
also returns a page with wrong data: