feat(gatus): Add uptime monitoring

This commit is contained in:
2025-11-18 11:12:00 +01:00
parent d8c1bac4c3
commit f67fcaf7c8
10 changed files with 233 additions and 0 deletions
+88
View File
@@ -0,0 +1,88 @@
image:
repository: twinproduction/gatus
tag: v5.26.0
# Does envFrom secret named gatus
secrets: true
serviceMonitor:
enabled: true
config:
web:
address: "[::]"
metrics: true
storage:
type: postgres
path: "postgres://app:${DB_PASS}@prod-gatus-db:5432/app"
ui:
title: Oceanbox
header: Oceanbox Monitoring
#logo: https://zarak.fr/resources/cyril-avatar.jpg
link: https://oceanbox.io
.defaults: &defaults
interval: 30s
.https-endpoint: &https-endpoint
<<: *defaults
conditions:
- "[STATUS] == 200"
- "[RESPONSE_TIME] <= 1000"
- "[CERTIFICATE_EXPIRATION] > 168h" # 7 days
.tls-endpoint: &tls-endpoint
<<: *defaults
conditions:
- "[CONNECTED] == true"
- "[RESPONSE_TIME] <= 1000"
- "[CERTIFICATE_EXPIRATION] > 168h" # 7 days
.tcp-endpoint: &tcp-endpoint
<<: *defaults
conditions:
- "[CONNECTED] == true"
- "[RESPONSE_TIME] <= 1000"
endpoints:
- name: Atlantis
<<: *https-endpoint
group: "Primary Services"
url: https://maps.oceanbox.io/healthz
- name: Sorcerer
<<: *https-endpoint
group: "Primary Services"
url: https://sorcerer.data.oceanbox.io/healthz
- name: Plume
<<: *https-endpoint
group: "Secondary Services"
url: https://plume.data.oceanbox.io/healthz
- name: Homepage
<<: *https-endpoint
group: "Secondary Services"
url: https://oceanbox.io
- name: Homepage
<<: *https-endpoint
group: "Experimental Services"
url: https://oceanbox.io
- name: Atlantis Beta
<<: *https-endpoint
group: "Experimental Services"
url: https://atlantis.beta.oceanbox.io/healthz
- name: Sorcerer Beta
<<: *https-endpoint
group: "Experimental Services"
url: https://sorcerer.ekman.oceanbox.io/healthz
- name: Plume Beta
<<: *https-endpoint
group: "Experimental Services"
url: https://plume.ekman.oceanbox.io/healthz