When vctl provisions an instance, automatically deploy node-exporter as a Docker container for Prometheus metrics scraping.
This enables the sentinel Prometheus to automatically discover and scrape new instances without manual setup.
Implementation:
- Add node-exporter to the default docker dependencies in the provisioning flow
- Or add it as a post-provision hook that runs
docker run -d --name node-exporter --restart unless-stopped --net host prom/node-exporter:latest
- The security group already allows port 9100 within the VPC (sgr-0ffa3f7d0796ea013)
Currently node-exporter must be manually installed on each instance.
When vctl provisions an instance, automatically deploy node-exporter as a Docker container for Prometheus metrics scraping.
This enables the sentinel Prometheus to automatically discover and scrape new instances without manual setup.
Implementation:
docker run -d --name node-exporter --restart unless-stopped --net host prom/node-exporter:latestCurrently node-exporter must be manually installed on each instance.