Add Prometheus/Grafana monitoring stack and Grafana route (#11)
seat-back-trivia/pipeline/head This commit looks good

Four pinned containers on a private network with memory caps for the 512 MB
droplet; provisioned data source, six-panel dashboard, HTTPS-availability and
root-disk alert rules, and the team-alerts Discord contact point. The Discord
webhook comes from the untracked grafana.secrets.env. Bring deploy/Caddyfile
in line with the droplet (ci route) and add metrics.pollefeys.dev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cedric Pollefeys
2026-10-28 15:28:47 -04:00
co-authored by Claude Opus 5.5
parent 55ab869735
commit adb8d5fab1
10 changed files with 890 additions and 0 deletions
@@ -0,0 +1,14 @@
apiVersion: 1
# Grafana reaches Prometheus by its service name on the monitoring network.
# localhost would mean the Grafana container itself.
datasources:
- name: Prometheus
uid: prometheus
type: prometheus
access: proxy
url: http://prometheus:9090
isDefault: true
editable: false
jsonData:
timeInterval: 30s