Keeping myself alive with Go
summary
Builds an HTTP endpoint that accepts device posts (every 2 minutes), parses the SV glucose value, stores readings in Postgres as best-effort and exposes a Prometheus gauge so Grafana shows real-time trends. Adds context with a Telegram bot that creates Grafana annotations, runs a cron every 5 minutes to open incidents when glucose < 4 mmol/L, and routes alerts through Prometheus, Grafana, Alertmanager into incident.io with automatic escalation after 20 minutes. All glue code and deployment use Go (Echo server, Encore).
AI-written summary · about
