Skip to content

Observability

Monitor server health, resource usage, containers, and application logs. Store logs in Cloudflare R2 using Parquet and query them through DuckDB.

Monitor server health, resource usage, containers, and application logs from one console. Observability combines 15-second host and container telemetry, live SSE tailing, and zero-egress Apache Parquet log storage in Cloudflare R2 queryable in-browser through DuckDB.

Host Metrics, Container Cgroups & Health Probes

Every 15 seconds, flarelensd reports host CPU load, memory pressure, swap, root/NVMe disk utilization, WireGuard peer handshakes, OS reboot-pending flags, and per-container CPU/RAM cgroup usage—correlating resource shifts directly against deployment revisions (rev-N).

  • Continuous Readiness & Liveness Checks: Active HTTP health probes monitor running slots and flag degraded containers immediately.
  • Alert Thresholds & Cooldowns: Built-in alert rules for offline nodes, disk saturation, memory pressure, and failed rollouts include configurable cooldown windows to prevent notification storms.

SSE Live Tailing & R2 Apache Parquet Lakehouse

Instead of paying $0.50–$2.50+/GB to third-party log SaaS vendors, FlareLens provides two complementary log pipelines:

  1. Real-Time SSE Tailing: Stream stdout and stderr from any container or logical service across your fleet live in the console with sub-5ms edge fan-out.
  2. Columnar R2 Log Lakehouse: Logs are micro-batched, Snappy-compressed into Hive-partitioned Apache Parquet objects (logs/env=prod/dt=YYYY-MM-DD/*.parquet), and stored in your Cloudflare R2 bucket with $0 egress fees.

Zero-SSH Live Container Logs (flarelensd logs)

Inspect real-time stdout/stderr from any running Blue/Green slot or singleton container (postgres, benthos-cdc, radius, checkout-api) directly from the Fleet → 📜 Logs modal or from your laptop CLI—zero SSH keys or bastion hosts required:

Stream live container logs locally or over the Control Planebash
# Follow live logs from your SSO-authenticated workstation (uses ~/.flarelens/id_ed25519 automatically)
flarelensd logs checkout-api --env prod -f

# Tail the last 500 lines with Docker RFC3339 timestamps from a stateful singleton
flarelensd logs postgres --env uat --tail 500 --timestamps
  • Active Slot Resolution: When targeting a blue_green service, flarelensd automatically attaches to the currently promoted live slot (-blue or -green).
  • Immediate Stream Cancellation: Closing the Dashboard modal (Esc or backdrop click) or pressing Ctrl+C in the terminal immediately cancels the host Docker Engine follow stream.

In-Browser DuckDB-WASM SQL Analytics

Opening Observability → Log Explorer boots DuckDB-WASM locally inside your browser tab and executes analytical SQL queries directly over R2 Parquet partitions via HTTP range requests—scanning millions of structured log rows in milliseconds with zero dedicated ClickHouse or Elasticsearch servers to maintain:

Query R2 Parquet logs with DuckDB-WASMsql
SELECT
  service,
  status_code,
  count(*) AS requests,
  approx_quantile(latency_ms, 0.99) AS p99_ms
FROM read_parquet('r2://logs/env=prod/dt=2026-11-17/*.parquet')
WHERE level IN ('WARN', 'ERROR')
GROUP BY service, status_code
ORDER BY requests DESC;

Type to search…

↑↓ navigate↵ selectEsc close