-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.upptimerc.yml
More file actions
71 lines (66 loc) · 2.31 KB
/
Copy path.upptimerc.yml
File metadata and controls
71 lines (66 loc) · 2.31 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
# Upptime config for Silex PMS — public uptime monitor.
# Driven by GitHub Actions: every 5 minutes, GH workers hit each `url`
# from outside our infrastructure (independent of Cloudflare). When
# something goes down, GH generates an issue + commit graph + email.
# See: https://upptime.js.org
owner: onick
repo: silex-status
sites:
- name: API (pms-api.silexpms.com)
url: https://pms-api.silexpms.com/health
expectedStatusCodes:
- 200
body: '"status":"healthy"'
- name: SaaS Owner Console
url: https://admin.silexpms.com
expectedStatusCodes:
- 200
- 307
- name: Tenant routing canary (Los Limones)
url: https://loslimones.silexpms.com/login
expectedStatusCodes:
- 200
- 401
- 307
- name: Real customer (Doña Chava)
url: https://donachava.silexpms.com/login
expectedStatusCodes:
- 200
- 401
- 307
- name: Mirror (Hostinger warm-spare)
url: https://mirror.silexpms.com/__nginx-health
expectedStatusCodes:
- 200
- name: Replication health
url: https://pms-api.silexpms.com/api/replication-health
expectedStatusCodes:
- 200
- 503 # 503 means degraded; still want to see the trend
body: '"role":"primary"'
status-website:
cname: status.silexpms.com
baseUrl: /
logoUrl: "https://raw.githubusercontent.com/onick/silex-status/main/icon.svg"
name: Silex PMS Status
introTitle: Silex PMS — Estado del servicio
introMessage: |
Monitoreo independiente fuera de nuestra infraestructura.
Detección cada 5 minutos. Histórico público.
navbar:
- title: Status
href: /
- title: GitHub
href: https://github.com/onick/silex-status
# Auto-issue creation when a site goes down. Avoids us having to read
# emails — issues are visible from any browser.
notifications:
- type: discord
# (optional) DISCORD_WEBHOOK_URL secret enables Discord notifications.
# Leave blank to skip; GH issue will still be created.
# Don't auto-commit measurement noise; let the workflow batch every 5 min.
commitMessages:
readmeContent: ":pencil: Update summary in README [skip ci]"
summaryJson: ":card_file_box: Update status summary [skip ci]"
statusChange: "$EMOJI $SITE_NAME is $STATUS ($RESPONSE_CODE in $RESPONSE_TIME ms) [skip ci]"
graphsUpdate: ":bar_chart: Update graphs [skip ci]"