IntegracionesMétricas y registros
Monitorizar Grafana Loki con DumbMonit
The log server itself: readiness, log lines it refuses and why, chunks that fail to reach storage, write-ahead log disk, request errors.
DocumentaciónSitio web oficial: Grafana Loki
Las descripciones están en inglés, como en el producto. Las etiquetas de la página siguen su idioma.
Qué vigila DumbMonit
The log server itself: whether it is ready, which log lines it refuses and why, whether its chunks reach storage, and whether its write-ahead log still has disk.
Uso habitual. Log server: readiness, refused lines, flush failures
Ejemplos
- Loki single binary
- Loki simple scalable
Cómo se conecta
Qué necesita
- Username / passwordSent as HTTP basic authentication.
- Bearer tokenSent as "Authorization: Bearer …" on every request.
No hace falta ninguna cuenta.
Puertos de red que abrir
3100/TCPLoki HTTP API (default)
Pasos de configuración: Let DumbMonit read Loki's own health
Nothing to install: check from the DumbMonit host that Loki answers on its HTTP port (3100 by default).
curl http://loki.lan:3100/readyLoki has no login of its own: only if a reverse proxy in front asks for one, pick Username / password (or Bearer token) below.
In DumbMonit, enter Loki's address, for example "loki.lan" or "https://logs.lan/loki" behind a reverse proxy.
With Loki split into components (simple scalable or microservices), add at least the write path.
Ojo. Refused lines are the failure to watch: when Loki refuses a line (too old, over a rate or stream limit, too long), the sender usually drops the batch and Grafana only shows a gap in the logs.