Releases: canaryio/sensord
Releases · canaryio/sensord
v1.0.3
v1.0.2
v1.0.1
v1.0.0
v1.0.0-alpha
This release alters the sensor, moving it from one that pushes measurements to a destination URL, to one that launches a lightweight web handler that can deliver results via chunked-enocding.
Usage example below.
In one window:
$ go run sensord.go
In another:
$ curl http://localhost:5000/measurements
{"check":{"id":"https-github.jparrowsec.cn","url":"https://github.com"},"id":"41834159-2f23-411f-7ca3-1eec45626755","location":"undefined","t":1399841720,"exit_status":0,"connect_time":0.029124,"starttransfer_time":0.061732,"local_ip":"107.170.77.99","primary_ip":"192.30.252.128","total_time":0.068709,"http_status":200,"namelookup_time":0.021843}
{"check":{"id":"http-git.io","url":"http://git.io/tVDpSw"},"id":"2ef95b9c-5e61-42cf-5029-e84a6ccb876d","location":"undefined","t":1399841761,"exit_status":0,"connect_time":0.045247,"starttransfer_time":0.072568,"local_ip":"107.170.77.99","primary_ip":"184.106.96.40","total_time":0.072599,"http_status":302,"namelookup_time":0.020751}
{"check":{"id":"https-gist.github.com","url":"https://gist.github.com"},"id":"ef449dea-ee9d-4eed-7882-168dbd9c5a05","location":"undefined","t":1399841761,"exit_status":0,"connect_time":0.02772,"starttransfer_time":0.060457,"local_ip":"107.170.77.99","primary_ip":"192.30.252.143","total_time":0.107915,"http_status":200,"namelookup_time":0.020995}
{"check":{"id":"https-cloud-01.edu.cybera.ca","url":"https://cloud-01.edu.cybera.ca"},"id":"c5c2d7c1-e8c2-4d6f-743f-aefe8e40a386","location":"undefined","t":1399841761,"exit_status":0,"connect_time":0.101157,"starttransfer_time":0.37325299999999995,"local_ip":"107.170.77.99","primary_ip":"69.10.140.200","total_time":0.37336100000000005,"http_status":200,"namelookup_time":0.020928}
...
This is an alpha release, and has not been tested heavily in production yet.