I can see my first node storagenode0, however no luck with storagenode1. Port 14003 is open for storagenode1 and I can access it without any issue.
I have a feeling that this tool may better work for people who maintain nodes on different servers than for people who maintain more than one on a single server
I need to add one and didn’t have time lately, but any generic guide for installing prometheus/grafana should work. I’m using ansible to set this up similar to https://github.com/prometheus/demo-site.
Finally got the service file and additional README information submitted in PRs. Let me know if the PR for the service file is too messy and I will redo it on my end. Not a whole lot of experience collaborating on projects in GitHub, so please do let me know if they are ok or need to be redone, I definitely do not mind.
You didn’t enable the service to start at boot: systemctl enable storj_exporter
If the storj exporter fails for some reason (e.g. storagenode gets updated, does the exporter crash in that case?) it won’t get restarted. It might be worth adding a restart into the service or the exporter has to be resilient enough to not crash if the connection to the storagenode doesn’t work.
I did include the enable into the instructions, it is in the PR #14 as I forgot it in PR #13. Learned a bit more about doing proper git branching and such so that PR is exclusively the README improvements. Figure I will probably just cancel #13 and redo it better to only have the service file.
Definitely need to do more testing and validation of how it handles those types of situations and adjust the service files accordingly. This was built off of my own barebones systemd template that I use for all my own custom services, more improvements will be coming in now that I have learned a decent bit about collaborative git versus just doing my own personal repos for change tracking.