More info can be found on the resin-blog
- Provision you're device(s) with resin.io
git clone [email protected]:resin-io-projects/resin-prometheus-device.git && cd resin-prometheus-device
git add remote resin <your-resin-app-endpoint>
git push resin master
- Enable your devices resin web URL
Of course, you'd typically run an actual application alongside the node_exporter
. To do this you'd just add you app's logic to the start.sh
# Start the node exporter
cd /etc/node_exporter-$NODE_EXPORTER_VERSION.$DIST_ARCH \
&& ./node_exporter -web.listen-address ":80" &
echo "Your application code should go here!"