-
Notifications
You must be signed in to change notification settings - Fork 0
/
monika.json.example
75 lines (75 loc) · 2.15 KB
/
monika.json.example
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"probes": [
{
"id": "a88108d8-83c8-4fee-8a02-320d7c7cd519",
"name": "WhatsApp Hyperjump",
"description": "https://whatsapp.hyperjump.tech",
"interval": 10,
"requests": [
{
"url": "https://whatsapp.hyperjump.tech/api/test-webhook/start?token=monika-monitoring-token",
"body": {},
"timeout": 10000,
"headers": {
"X-Monika-Header": "monika-monitoring-header"
},
"method": "POST"
},
{
"url": "https://whatsapp.hyperjump.tech/api/confirm?token=monika-monitoring-token",
"body": {},
"timeout": 10000,
"headers": {
"X-Monika-Header": "monika-monitoring-header"
},
"method": "POST"
},
{
"url": "https://whatsapp.hyperjump.tech/api/delete?token=monika-monitoring-token",
"body": {},
"timeout": 10000,
"headers": {
"X-Monika-Header": "monika-monitoring-header"
},
"method": "DELETE"
},
{
"url": "https://whatsapp.hyperjump.tech/api/notify?token=monika-monitoring-token",
"body": {},
"timeout": 10000,
"headers": {
"X-Monika-Header": "monika-monitoring-header"
},
"method": "POST"
},
{
"url": "https://whatsapp.hyperjump.tech/api/register",
"body": {},
"timeout": 10000,
"headers": {
"X-Monika-Header": "monika-monitoring-header"
},
"method": "POST"
},
{
"url": "https://whatsapp.hyperjump.tech/api/resend",
"body": {},
"timeout": 10000,
"headers": {
"X-Monika-Header": "monika-monitoring-header"
},
"method": "POST"
}
],
"incidentThreshold": 5,
"recoveryThreshold": 5,
"alerts": [
{
"query": "response.status < 200 or response.status > 299",
"subject": "Target is not OK",
"message": "Target is not healthy. It has not been returning status code 2xx."
}
]
}
]
}