-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b351051
commit 69c7211
Showing
6 changed files
with
119 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
notifications: | ||
- id: unique-id-desktop | ||
type: desktop | ||
probes: | ||
- id: "1" | ||
name: Localhost | ||
description: Check status | ||
interval: 1 | ||
incidentThreshold: 3 | ||
recoveryThreshold: 3 | ||
requests: | ||
- method: GET | ||
timeout: 10000 | ||
url: http://localhost:8000/api/delay | ||
alerts: | ||
- assertion: response.time > 800 | ||
message: Probe not accessible |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
notifications: | ||
- id: unique-id-desktop | ||
type: desktop | ||
probes: | ||
- id: "1" | ||
name: Localhost | ||
description: Check status | ||
interval: 1 | ||
incidentThreshold: 3 | ||
recoveryThreshold: 3 | ||
requests: | ||
- method: GET | ||
timeout: 10000 | ||
url: http://localhost:8000/api/status | ||
alerts: | ||
- assertion: response.status != 200 | ||
message: Status is not 200, please check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
notifications: | ||
- id: unique-id-desktop | ||
type: desktop | ||
probes: | ||
- id: "1" | ||
name: Status | ||
description: Check status | ||
interval: 1 | ||
incidentThreshold: 3 | ||
recoveryThreshold: 3 | ||
requests: | ||
- method: GET | ||
timeout: 10000 | ||
url: http://localhost:8000/api/status | ||
alerts: | ||
- assertion: response.status != 200 | ||
message: Status not 200 | ||
- id: "2" | ||
name: Delay | ||
description: Check delay | ||
interval: 1 | ||
incidentThreshold: 3 | ||
recoveryThreshold: 3 | ||
requests: | ||
- method: GET | ||
timeout: 10000 | ||
url: http://localhost:8000/api/delay | ||
alerts: | ||
- assertion: response.time > 800 | ||
message: Probe not accessible |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
notifications: | ||
- id: unique-id-desktop | ||
type: desktop | ||
probes: | ||
- id: "1" | ||
name: Chaining | ||
description: Check chaining | ||
interval: 1 | ||
incidentThreshold: 3 | ||
recoveryThreshold: 3 | ||
requests: | ||
- method: POST | ||
timeout: 10000 | ||
url: http://localhost:8000/api/login | ||
headers: | ||
Content-Type: application/json | ||
body: {} | ||
alerts: | ||
- assertion: response.status != 200 | ||
message: Status not 200 | ||
- method: GET | ||
timeout: 10000 | ||
url: http://localhost:8000/api/user/{{ responses.[0].body.data.uid }} | ||
alerts: | ||
- assertion: response.status != 200 | ||
message: Status not 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
notifications: | ||
- id: unique-id-desktop | ||
type: desktop | ||
probes: | ||
- id: "1" | ||
name: Check body | ||
description: Check body error | ||
interval: 1 | ||
incidentThreshold: 3 | ||
recoveryThreshold: 3 | ||
requests: | ||
- method: GET | ||
timeout: 10000 | ||
url: http://localhost:8000/api/body | ||
alerts: | ||
- assertion: response.body.status == "error" | ||
message: Body status is error |