Add support for [RESPONSE_TIME] and >, <, <=, >= operators

This commit is contained in:
TwinProduction
2020-04-10 16:34:20 -04:00
parent 1701ced07b
commit 92cb9c86d1
4 changed files with 114 additions and 35 deletions

View File

@ -2,9 +2,10 @@ metrics: true
services:
- name: Twinnation
url: https://twinnation.org/health
interval: 30s
interval: 10s
conditions:
- "[STATUS] == 200"
- "[RESPONSE_TIME] < 20"
- name: GitHub API
url: https://api.github.com/healthz
interval: 30s