8000 GitHub - coliquio/lastmile: Monitors edge location connectivity and reports back to central prometheus.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

coliquio/lastmile

Repository files navigation

Lastmile

https://travis-ci.com/coliquio/lastmile.svg?branch=master

Monitors edge location connectivity and reports back to central prometheus.

docs/concept.png

Install as Cron service

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

Run Test Environment

docker-compose up

Run local example/probes.json without prometheus

npm run example

Probe Configuration

HTTP

{ "url": "http://example.com" }

HTTPS

{ "url": "https://example.com" }

DNS

{ "type": "dns", "host": "www.example.com" }

CI Environment

https://travis-ci.com/coliquio/lastmile.svg?branch=master

See https://travis-ci.com/coliquio/lastmile

License

See LICENSE.

Disclaimer

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.

About

Monitors edge location connectivity and reports back to central prometheus.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0