Lookout-Arkiv!

Health verdict, expiry-aware disk forecast and phone alerts for Arkiv node operators

Lookout-Arkiv!

Created At

ETHGlobal Mumbai

Winner of

Arkiv

Arkiv - Node tooling

Project Description

Lookout is a dashboard that runs next to an Arkiv node and answers one question: is my node OK, and if not, what exactly do I do?

Running a Rabdi node today, you can't see what matters. The entity store (GolemDB) exposes no size or entity metrics, expired entities don't give disk space back, failed RPC calls are counted but never logged, and the official node kit ships with metrics switched off.

Lookout turns the node's raw readings into a single verdict (Healthy, Waiting, or Act now) with the next step, such as the exact command to run when Lighthouse has no peers. While the node syncs it shows a live race to the network head with an accurate "level in about X min".

The Disk tab forecasts when the disk fills, two ways: at today's write rate, and if new writes reuse the space expired entities leave. It holds the forecast during catch-up so you don't get false alarms, and a what-if slider lets you shrink the budget until the real alert fires to your phone (ntfy, Slack or Discord).

Traffic shows every RPC method with typical and slowest-1% latency and failures. Pool shows how Arkiv's load balancer sees your node (in rotation, lag, latency, data consistency, GLM owed) from the same public feed as nodes.arkiv.network.

For Arkiv runs live query-language checks every 10 minutes (11 of 16 features behave as the spec says, with IDs matching Arkiv's conformance tracker). Alongside it we wrote 13 measured friction items, and a slow-query finder whose results go to Arkiv privately.

Tested on a real Rabdi testnet node at the venue: 184,921 live entities, 27,300 blocks caught up while Lookout counted down.

How it's Made

Lookout is a small Node 22 server (Hono) plus a single-page dashboard with no build step. A collector polls the node every few seconds: arkiv-reth's Prometheus metrics for RPC calls per method, latency and failures; JSON-RPC for head, peers and sync state; Lighthouse's beacon API for consensus peers and sync distance; and the node's data directory, measured in actually allocated bytes and split into entity data, chain database, old blocks, history index and expiry queue. History goes into node:sqlite, which ships with Node, so there's nothing extra to install.

Entities and expiry come from the Arkiv SDK (@arkiv-network/sdk) and viem: Lookout counts live entities and buckets them by when they expire, which feeds the timeline and the expiry-aware disk forecast. The Pool tab reads the same public feed as nodes.arkiv.network and lines it up against what Lookout measures inside your node.

Notable or hacky bits:

  • We found by measurement that expiry frees space for reuse, not back to the disk: with all writes stopped, 295 entities expired in 7 minutes and the store grew by 168 KB. That's why there are two forecasts.
  • The forecast detects catch-up and holds, because sync writes hours of history per minute and would otherwise trigger false alarms (we hit this on the real node and fixed it).
  • The conformance checks deliberately send queries that should fail; Lookout subtracts its own failures so the Traffic tab only shows real ones.
  • The what-if slider calls the real alert path, so you can test the push to your phone safely.

Ships as Docker Compose: one command brings up a dev node, Lookout and optional demo traffic. Alerts go through ntfy, Slack or Discord webhooks. Styling uses SakaniUI tokens and Tabler icons (both MIT).

background image mobile

Join the mailing list

Get the latest news and updates