Statistics with Grafana/Prometheus with sensor based on Overleaf instance statistics- #178

This commit is contained in:
David Rotermund
2026-10-27 13:43:32 +00:00
parent 6f2cf1c060
commit 05b1b04513
57 changed files with 3456 additions and 22 deletions
@@ -0,0 +1,29 @@
# node-exporter — host-level signals (CPU, memory, filesystem, ...).
# Reads the HOST's /proc, / and /sys read-only into the container
# (same flags as the OlliTeX toolkit node-exporter).
services:
node-exporter:
image: ${NODE_EXPORTER_IMAGE:-prom/node-exporter:v1.9.1}
container_name: node-exporter
hostname: node-exporter
restart: unless-stopped
command:
- "--path.procfs=/host/proc"
- "--path.rootfs=/host"
- "--path.sysfs=/host/sys"
ports:
- "127.0.0.1:${NODE_EXPORTER_PORT:-9100}:9100" # host admin only (SSH tunnel)
volumes:
- /:/host:ro
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:9100/metrics"]
start_period: 15s
interval: 30s
retries: 5
timeout: 5s
networks:
- overleaf-network
networks:
overleaf-network:
external: true