Purpose
Lightmetrics is an owned telemetry path for small fleets that need a narrow agent, explicit ingest contracts, and private reads without a hosted-control-plane assumption.
Self-hosted telemetry path for small fleets
A pre-production Rust agent and collector for owned telemetry: durable local queues, Cap'n Proto batches, private query APIs, and stock Grafana access through a narrow Prometheus-compatible surface.
curl -H "Authorization: Bearer $QUERY_TOKEN" \
"http://127.0.0.1:18080/api/v1/query?query=lmagent_up" Project information
The landing route gives readers a short path to the implemented repository, the verified local demo, and the limitations that still matter.
Lightmetrics is an owned telemetry path for small fleets that need a narrow agent, explicit ingest contracts, and private reads without a hosted-control-plane assumption.
The repository is pre-production. Local ingest, query, object-store, Grafana-smoke, demo, and console pieces exist, while production packaging and operations remain tracked work.
Public pages summarize implemented source, limitations, and plan rows. Design targets and planned rows are not presented as shipped runtime behavior.
Core architecture
Collects heartbeat, host/process metrics, and configured complete log lines into the durable local upload queue.
Accepts framed Cap'n Proto batches over the public ingest endpoint with bearer identity checks, validation, and sequence dedupe.
Keeps accepted frames in local spool storage and can land raw blobs plus accepted manifests through filesystem or S3-compatible object stores.
Serves bounded metrics, logs, alerts, live notices, and a narrow Prometheus-compatible query surface behind the private query token.
Capability boundary
Framed Cap'n Proto validation, bearer-authenticated ingest, sequence dedupe, local spool acceptance, and S3-compatible accepted manifests are represented in the current source.
The collector exposes bounded metrics, logs, alerts, live SSE notices, buildinfo, and a narrow Prometheus-compatible API subset for stock Grafana.
Linux heartbeat metrics, capped CPU, memory, load, network bytes, queue filesystem, process CPU, and process RSS exist. Some console depth remains bounded by missing backend contracts.
Service units, package formats, broader admin workflows, and the public deployment path are tracked but not complete.
Start points
Local evaluation
scripts/lightmetrics-demo restart scripts/lightmetrics-demo status /api/v1/query?query=lmagent_up Roadmap preview
Worklog: WEB-01. Static reference bundle archived at design-artifacts/claude-design/lightmetrics-public-site-2026-05-08.tar.gz; no Astro scaffold, Cloudflare deployment, or DNS change.
Worklog: WEB-02. Static Astro scaffold committed under site/; no Cloudflare adapter, SSR, DNS/custom-domain change, full Markdown publishing pipeline, or full public Gantt surface.
Worklog: WEB-03. Landing route now includes source-grounded project facts, architecture steps, start-point links, and desktop/mobile browser verification; no full Markdown docs publishing, full public Gantt surface, Cloudflare Pages configuration, or DNS/custom-domain change.
Worklog: WEB-04. Static Astro docs routes are generated from an allowlist of repository Markdown sources, the build checks same-origin output links, planned guides remain listed as planned, and agent/review/worklog procedure sources are excluded from public docs routes. No full public Gantt interaction, Cloudflare Pages configuration, runtime API calls, DNS/custom-domain change, or package/service-unit docs are introduced.