Add support for [BODY] placeholder and basic JSON path support

Note that arrays are not currently supported, same with asterisks
This commit is contained in:
TwinProduction
2020-04-10 22:56:38 -04:00
parent 15b8f8a293
commit 3e2b56ba89
5 changed files with 134 additions and 19 deletions

View File

@ -5,7 +5,8 @@ services:
interval: 10s
conditions:
- "[STATUS] == 200"
- "[RESPONSE_TIME] < 30"
- "[RESPONSE_TIME] < 500"
- "[BODY].status == UP"
- name: Example
url: https://example.org/
interval: 30s