-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathexample.json
69 lines (69 loc) · 1.51 KB
/
example.json
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
{
"application": {
"name": "app",
"datetime": "2016-04-05T18:25:43.511Z",
"startup": "2016-04-05T18:25:43.511Z",
"uptime": "11 days, 14:22:25.12345",
"hostname": "app.organization.com",
"version": "1.2.3"
},
"health": {
"databases": false,
"integrationpoints": true,
"circuitbreakers": false,
"filesystem": true
},
"databases": [
{
"name": "postgres",
"essential": true,
"health": true,
"latency": 0.4,
"connections": 10
},
{
"name": "redis",
"essential": false,
"health": false,
"latency": 0.2,
"connections": 1,
"error": "Connection refused"
}
],
"integrationpoints": [
{
"name": "another-service",
"uri": "https://another.service.com/v1",
"essential": false,
"health": true,
"latency": 74.5,
"lastCall": "2016-04-05T18:25:41.454Z",
"lastSuccess": "2016-04-05T18:25:41.454Z",
"callsLastMinute": 31,
"callsLastHour": 1728
}
],
"circuitbreakers": [
{
"name": "authenticator",
"essential": false,
"health": false,
"state": "open",
"timeout": "2016-04-05T18:26:12.454Z",
"lastCall": "2016-04-05T18:25:12.454Z",
"lastSuccess": "2016-04-05T18:25:10.454Z",
"callsLastMinute": 38,
"callsLastHour": 2144
}
],
"filesystems": [
{
"name": "/data",
"essential": true,
"health": true,
"readable": true,
"writable": true,
"latency": 0.75
}
]
}