statping/core
Emanuel Bennici c1f4ee865a
Fix wrong Downtime Calculation
The downtime was calculated wrong because the time when the latest
failure oocured was subtraced of the time when the latest failure
occured. And this will be zero.

Now it subtractes from the Date of the latest failure the Date of the
latest successfull hit.

Signed-off-by: Emanuel Bennici <benniciemanuel78@gmail.com>
2019-11-28 23:34:12 +01:00
..
notifier fixes, go mod 2019-11-22 13:17:37 -08:00
checker.go Merge branch 'master' into fix/back-online 2019-10-15 08:55:33 -07:00
checkin.go ui/mobile updates - checkin update 2019-01-10 08:47:01 -08:00
configs.go admin username/pass as ENV, removed hardcoded 2019-04-03 08:15:46 -07:00
core.go update 2019-10-25 08:13:32 -07:00
core_test.go http server refactor - tests 2019-03-05 12:13:25 -08:00
database.go fixed tests - removed database creds from logs 2019-09-03 14:10:13 -07:00
doc.go package name change 2018-12-03 21:57:11 -08:00
export.go export groups - minor updates 2019-01-08 20:20:43 -08:00
failures.go fix: fix failures' heatmap when connected to postgres 2019-06-14 15:12:07 +02:00
groups.go fixed private services showing to non-auth users 2019-04-29 11:11:44 -07:00
hits.go response time fixes - cache fixes - apexcharts 2019-01-31 20:48:18 -08:00
incidents.go Incident reporting feature (beta) 2019-06-24 15:21:38 -07:00
messages.go package name change 2018-12-03 21:57:11 -08:00
sample.go Incident reporting feature (beta) 2019-06-24 15:21:38 -07:00
services.go Fix wrong Downtime Calculation 2019-11-28 23:34:12 +01:00
services_checkin_test.go template update - checkins/failure API 2018-12-06 11:03:55 -08:00
services_test.go fixed tests - removed database creds from logs 2019-09-03 14:10:13 -07:00
sparklines.go dashboard updates 2019-02-01 11:57:59 -08:00
users.go http headers for service 2019-03-16 15:55:45 -07:00
users_test.go package name change 2018-12-03 21:57:11 -08:00