-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows Version? Docker has problem #2
Comments
Yes, you'd need to use the Windows exporter, which should be easy to install with their .msi installer. Then you should just have to point Prometheus at port 9182, although there may be some issues with host-to-container networking on Windows. If so, you'd probably want to download and run the Prometheus native Windows binary instead of running it in Docker.
I rarely use Windows, so I probably won't be able to explore this further, sorry. |
I have commented the node_exporter part out of the docker-compose.yml Windows Exporter appears to be running and I have pointed mtail to the mtail/chialog.mtail file within the windows app |
By the "node" job you mean Windows Exporter? And I'm a bit confused on how you are setting this up. Are you setting up everything natively or using docker (I see you included the bit that you commented the node_exporter part out of docker-compose.yml) |
I installed docker and took the package that was shared by the retzkek, then I installed windows exporter using Github link shared. |
I'm trying this myself but haven't gotten far. Hope we can make this work :). |
Alright, I fired up a Windows desktop to see if I could get this running. Buckle up, this will be a bumpy ride! All changes and a new dashboard are pushed to the windows branch.
I installed Chia, but it's not farming, so I can't check that those metrics are working. Otherwise it looks good, proof: |
Could you share your docker-compose for windows just so I can check I'm am adding the entries correctly, then I will start to work out how to make the changes to the grafana portion. slow and steady! Thanks for your awesome work and the sharing |
All the files I changed for Windows, including the dashboard, are in the "windows" branch: https://github.com/retzkek/chiamon/tree/windows |
Following these instructions I seem to have it working, just got it running so assuming it will start pulling the plotting data through soon. Really nice dash! |
is there a way to use this without docker- and vscode-shit? |
@gromran yes. |
@digitalkisan those metrics come from the
@gogito like I said, I quickly replaced the metrics, so they may not be right. Someone who actually uses Windows can figure out the right metrics. I'm not going to spoonfeed everyone, sorry. |
Thanks again guys for your help a screenshot of mtail below |
The Expressions for the network usage is wrong. |
Thank you, i will make those changes and report back, also after observing the dash i noticed the CPU % is actually the inverse, so it is showing % of CPU utilisation remaining this is best seen if you idle the cpu and run the dash. |
Ok, i see that $ is for the line ending.... |
@SiliPSX thanks for investigating! If you want to open a PR against the |
Thanks Retzkek and SiliPSX for your hardwork! |
where to change this? |
The Network Fix is in chiamon/grafana/dashboards/Chia on Windows.json For the peers you have to open Port 8444 in your router and forward it to your node. |
is it line 978 right , i already copy ur code but still not working. do i need to do something in Dashboard when running. or restart some service? |
this is mine. |
work now i change the code and then come post down and then up again. |
@yanadhorn @SiliPSX Is it possible for you guys to have a tutorial/git page that can help us with less technical knowledge on how to set this up for Windows? |
hey bro. i can help as much as i can what is your problem right now tell me. |
Am I meant to see anything running after I install Windows Exporter? I clicked the .msi file, installed it but I can't see anything running on my windows tray, I don't even know where it got installed. The chia_exporter container won't start up:
What should be running on port 8555? Also, this error happens when I don't have the Chia GUI running. If I run it, then I get this error when initializing chia_exporter docker container:
|
Btw, going to this URL http://localhost:9182/metrics I can see information there, I am guessing that's Windows Exporter? |
The full node RPC API, so yes you need the Chia node running.
That URL needs to use
yes |
you legend, thanks. All containers running now. If my full node runs on a different machine than chiamon, then all I have to do is to change:
more specifically, to change |
The RPC APIs only listen on localhost by default, so you can't connect from another host. It looks like you can change that with the |
Still can't seem to get the plots to show even though i have implemented the change to remove the "$" any ideas? |
here is the output from mtail PS C:\Users\Digit\OneDrive\Documents\GitHub\chiamon> docker-compose logs mtail When i look at docker all appear to be running, and windows explorer is running. |
@digitalkisan sorry, I have no clue. Probably an issue with the mtail program still. Did you re-build the mtail image after changing the program ( |
Thank you, I did but I need to restart the machine for an update anyway so I will redo it with that command. |
where can i learn about customize dashboard like the linux version? |
So I tried this on Docker using Windows 10 Home with WSL2 backend and it's having problem with node_exporter can't mount the / path as shared/slave.
I saw that there is a Windows Exporter for Prometheus available but I'm not well verse enough to work on it. If possible can you try and make a Windows version?
Thank you for the great work!
The text was updated successfully, but these errors were encountered: