Adding REGEX to sample configuration and updating the unit tests.

This commit is contained in:
Mitsuo Takaki
2016-05-02 01:09:56 -07:00
parent 072aed1024
commit 0ea3891a7d
4 changed files with 12 additions and 9 deletions

View File

@@ -7,6 +7,8 @@ endpoint:
status: 200
- type: LATENCY
threshold: 1
- type: REGEX
regex: ".*<body>.*"
cachet:
api_url: http://status.cachethq.io/api/v1/
token: my_token