Observability & Monitoring (Web3 Infrastructure)
The system utilizes Grafana Alloy for high-performance telemetry collection.
📊 Data Pipeline
- Discovery: Automatically finds containers using the Docker socket (
discovery.docker). - Metrics:
- Host metrics via Node Exporter.
- Container metrics via cAdvisor.
- Logs: Container logs are streamed to Loki.
⚙️ Configuration Patterns
The pipeline (config.alloy) is configured to push data to an external observability stack:
- Prometheus (Metrics): Remote write endpoint at
prometheus.monitoring-stack.local. - Loki (Logs): Push endpoint at
loki.monitoring-stack.local.
🛡️ Log Rotation
A global daemon-level policy ensures that no single container can exceed 300MB of local log storage (3 x 100MB files).
Source: Internal Infrastructure Manual