-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfailmap.test.yaml
More file actions
93 lines (81 loc) · 1.65 KB
/
Copy pathfailmap.test.yaml
File metadata and controls
93 lines (81 loc) · 1.65 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
server:
port: 3000
services:
# --- Edge layer ---
- name: load-balancer
url: http://localhost:9001/health
type: http
interval: 3s
dependencies:
- api-gateway
- cdn-proxy
- name: cdn-proxy
url: http://localhost:9002/health
type: http
interval: 3s
dependencies:
- api-gateway
# --- API layer ---
- name: api-gateway
url: http://localhost:9003/health
type: http
interval: 3s
dependencies:
- auth-service
- user-service
- payment-service
- notification-service
# --- Core services ---
- name: auth-service
url: http://localhost:9004/health
type: http
interval: 3s
dependencies:
- redis
- postgres
- name: user-service
url: http://localhost:9005/health
type: http
interval: 3s
dependencies:
- postgres
- cache-layer
- name: payment-service
url: http://localhost:9006/health
type: http
interval: 3s
dependencies:
- postgres
- rabbitmq
- name: notification-service
url: http://localhost:9007/health
type: http
interval: 3s
dependencies:
- rabbitmq
- email-worker
- name: email-worker
url: http://localhost:9008/health
type: http
interval: 3s
dependencies:
- rabbitmq
- name: cache-layer
url: http://localhost:9009/health
type: http
interval: 3s
dependencies:
- redis
# --- Data layer ---
- name: postgres
host: localhost:5432
type: tcp
interval: 5s
- name: redis
host: localhost:6379
type: tcp
interval: 5s
- name: rabbitmq
host: localhost:5672
type: tcp
interval: 5s