Skip to main content

max / pom

2.9 KB · 150 lines History Blame Raw
1 [serve]
2 interval_secs = 300
3 prune_days = 30
4 listen = "100.106.221.39:9100"
5 peer_heartbeat_secs = 60
6 route_check_interval_secs = 300
7 dashboard = true
8 # api_token loaded from POM_API_TOKEN env var
9
10 [instance]
11 name = "astra"
12
13 [targets.mnw]
14 label = "Makenotwork Production"
15 expected_routes = ["/", "/discover", "/login", "/docs"]
16
17 [[targets.mnw.dns]]
18 name = "makenot.work"
19 record_type = "A"
20 expected = []
21
22 [[targets.mnw.dns]]
23 name = "forums.makenot.work"
24 record_type = "A"
25 expected = []
26
27 [[targets.mnw.dns]]
28 name = "git.makenot.work"
29 record_type = "A"
30 expected = []
31
32 [targets.mnw.whois]
33 domain = "makenot.work"
34 warn_days = 30
35
36 [targets.mnw.health]
37 url = "https://makenot.work/api/health"
38 timeout_secs = 10
39
40 [targets.mnw.health.expect]
41 status_code = 200
42 json_fields = { "status" = "operational" }
43
44 [targets.mnw.health.trending]
45 baseline_window_hours = 168
46 spike_threshold = 2.0
47
48 [targets.mnw.tls]
49 host = "makenot.work"
50
51 [targets.mnw.tests]
52 ssh = "max@100.106.221.39"
53 command = "/home/max/staging/run-ci.sh"
54 timeout_secs = 600
55 staleness_days = 7
56
57 [targets.mt]
58 label = "Multithreaded Forum"
59 expected_routes = ["/"]
60
61 [targets.mt.health]
62 url = "https://forums.makenot.work/api/health"
63 timeout_secs = 10
64
65 [targets.mt.health.expect]
66 status_code = 200
67 json_fields = { "status" = "operational" }
68
69 [targets.mt.tls]
70 host = "forums.makenot.work"
71
72 [targets.mt.tests]
73 ssh = "max@100.106.221.39"
74 command = "cd /home/max/staging/multithreaded && cargo test --workspace 2>&1"
75 timeout_secs = 300
76 staleness_days = 7
77
78 [targets.htpy]
79 label = "htpy.app"
80
81 [[targets.htpy.dns]]
82 name = "htpy.app"
83 record_type = "A"
84 expected = []
85
86 [targets.htpy.whois]
87 domain = "htpy.app"
88 warn_days = 30
89
90 [targets.htpy.health]
91 url = "http://100.99.153.68:8080/archive/S_2"
92 timeout_secs = 10
93
94 [targets.htpy.health.expect]
95 status_code = 200
96 body_contains = "htpy"
97
98 [targets.htpy.tls]
99 host = "htpy.app"
100
101 [targets.go]
102 label = "GoingsOn"
103
104 [targets.go.tests]
105 ssh = "max@100.106.221.39"
106 command = "cd /home/max/staging/goingson && cargo test --workspace 2>&1"
107 timeout_secs = 600
108 staleness_days = 7
109
110 [targets.bb]
111 label = "Balanced Breakfast"
112
113 [targets.bb.tests]
114 ssh = "max@100.106.221.39"
115 command = "cd /home/max/staging/balanced_breakfast && cargo test --workspace 2>&1"
116 timeout_secs = 600
117 staleness_days = 7
118
119 [targets.af]
120 label = "AudioFiles"
121
122 [targets.af.tests]
123 ssh = "max@100.106.221.39"
124 command = "cd /home/max/staging/audiofiles && cargo test --workspace 2>&1"
125 timeout_secs = 600
126 staleness_days = 7
127
128 [targets.sk]
129 label = "SyncKit SDK"
130
131 [targets.sk.tests]
132 ssh = "max@100.106.221.39"
133 command = "cd /home/max/staging/synckit-client && cargo test 2>&1"
134 timeout_secs = 300
135 staleness_days = 7
136
137 [peers.hetzner]
138 address = "100.120.174.96:9100"
139 on_missing = "alert"
140 # token = "<hetzner's POM_API_TOKEN value>"
141
142 [peers.macbook]
143 address = "100.100.246.136:9100"
144 on_missing = "log"
145 # token = "<macbook's POM_API_TOKEN value>"
146
147 [alerts]
148 # postmark_token loaded from POM_POSTMARK_TOKEN env var
149 to = "pom-alerts@makenot.work"
150