Skip to content

MiniObservObservabilidad self-hosted

Recopila métricas y logs de tus servidores, almacénalos en TimescaleDB, dispara alertas y monitorea todo desde un dashboard en tiempo real. Escrito en Go 1.23+.

Así se ve

┌─ MiniObserv ──────────────────── ● live  🔴 1 firing ──────┐
├─ HOSTS ────┬────────────────────────────────────────────────┤
│            │  ⚠ Memory Used > 8  |  actual: 10.36%          │
│ ● web-01   │                                                │
│ ● web-02   │  ┌──────────────┐  ┌──────────────┐           │
│ ◐ staging  │  │ CPU Usage    │  │ Memory Used  │           │
│ ✕ worker   │  │   0.70%      │  │   10.19%     │           │
│            │  │ → estable    │  │ ↑ subiendo   │           │
│            │  │ ▁▂▁▁▂▁▁▁    │  │ ▃▄▅▅▄▅▅▄▅   │           │
│            │  └──────────────┘  └──────────────┘           │
│            │                                                │
│            │  Logs (20)                                     │
│            │  16:42:31  INFO   GET /tasks → 200 (0ms)       │
│            │  16:42:31  ERROR  DB connection timeout        │
└────────────┴────────────────────────────────────────────────┘

Indicadores de host: ok · stale · down

Setup en 5 minutos

bash
git clone https://github.com/KamerrEzz/theminidog.git
cd theminidog/deployments
docker compose up --build

Abre http://localhost:8080 — el dashboard está disponible en cuanto el agente empieza a recopilar datos.

Notificaciones de alertas

bash
# Notificar a Slack cuando se supere un umbral
ALERT_RULES='[{"host":"*","name":"cpu.usage_pct","op":">","threshold":80,"for":"5m"}]'
ALERT_NOTIFICATIONS='[{"type":"webhook","url":"https://hooks.slack.com/services/TU/WEBHOOK"}]'

Cualquier webhook HTTP funciona — Slack, Discord, Teams, PagerDuty o tu propio endpoint.

Released under the MIT License.