huuman friendly config!

This commit is contained in:
Matej Kramny
2017-02-04 21:49:13 -08:00
parent d43eca4b7d
commit a2d8128109
2 changed files with 16 additions and 0 deletions

2
.gitignore vendored
View File

@@ -1,3 +1,5 @@
gin-bin gin-bin
example.config.local.json example.config.local.json
.idea .idea
/config.yml
/config.json

14
example.config.yml Normal file
View File

@@ -0,0 +1,14 @@
api:
url: https://demo.cachethq.io/api/v1
token: 9yMHsdioQosnyVK4iCVR
monitors:
- name: google
target: https://google.com
threshold: 80
component_id: 1
interval: 10
timeout: 5
headers:
Authorization: Basic <hash>
expected_status_code: 200
strict: true