-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathprodzilla.yml
47 lines (46 loc) · 1.11 KB
/
prodzilla.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
probes:
- name: your-post
url: https://your.site/some/path
http_method: POST
with:
headers:
x-client-id: ClientId
body: '"{"test": true}"'
expectations:
- field: StatusCode
operation: Equals
value: "200"
schedule:
initial_delay: 0
interval: 60
alerts:
- url: https://notify.me/some/path
tags:
system: super-awesome-system
component: super-critical-component
owner: team
stories:
- name: get-ip-user-flow
steps:
- name: get-ip
url: https://api.ipify.org/?format=json
http_method: GET
expectations:
- field: StatusCode
operation: Equals
value: "200"
- name: get-location
url: https://ipinfo.io/${{ steps.get-ip.body.ip }}/geo
http_method: GET
expectations:
- field: StatusCode
operation: Equals
value: "200"
schedule:
initial_delay: 0
interval: 20
alerts:
- url: https://webhook.site/54a9a526-c104-42a7-9b76-788e897390d8
tags:
team: team1
tier: sev0