diff --git a/.gitignore b/.gitignore index 43801e7..8eb58da 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ gin-bin example.config.local.json .idea +/config.yml +/config.json diff --git a/example.config.yml b/example.config.yml new file mode 100644 index 0000000..2b24df4 --- /dev/null +++ b/example.config.yml @@ -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 + expected_status_code: 200 + strict: true \ No newline at end of file