huuman friendly config!
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -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
14
example.config.yml
Normal 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
|
||||||
Reference in New Issue
Block a user