Monitors edge location connectivity and reports back to central prometheus.
This installs to root crontab.
curl https://raw.githubusercontent.com/coliquio/lastmile/master/cron-service/installer.sh | \
PUSHGATEWAY_URL=<path-to-prometheus> \
PUSHGATEWAY_AUTH=<user>:<pass> \
PROBES_CONFIG_URL=https://raw.githubusercontent.com/coliquio/lastmile/master/example/probes.json \
ENVIRONMENT=local \
INSTANCE=lastmile \
INSTANCE_ADDRESS=`ip -o -4 address show | awk 'NR==2 { gsub(/\/.*/, "", $4); printf $4 }'` \
bash
docker-compose up
npm run example
{ "url": "http://example.com" }
{ "url": "https://example.com" }
{ "type": "dns", "host": "www.example.com" }
See https://travis-ci.com/coliquio/lastmile
See LICENSE.
This is a project for the community, from developers for developers. This is NOT an official coliquio product. I.e. Maintenance and support are provided by the individual developers but not officially by coliquio.