Skip to content

hyparam/hypaware-server

Repository files navigation

HypAware Server

Enterprise companion to HypAware: receives logs forwarded from HypAware instances across an org, spools them per gateway with fsync-before-ack durability, moves them into the kernel's Iceberg cache, archives closed days to Iceberg on S3 or local disk, and serves admin SQL spanning cache + archive.

Design rationale lives in the numbered LLP documents under llp/; source files carry @ref LLP NNNN#anchor annotations back into them.

Run

npm install            # needs ../hypaware checked out (file: dependency)
HYPSERVER_IDENTITY_SECRET=... HYPSERVER_ADMIN_TOKEN=... npm start

Configuration is entirely env-driven — see src/config.js for every knob (port, data dir, S3 archive, retention, backpressure, caps). Secrets only ever arrive via environment.

Smoke test

npm run smoke

Boots the real daemon against a temp dir and walks every plane: enrollment policy tokens, ingest durability + idempotency, dataset registration + schema skew, backpressure, revocation, capped admin SQL, archive export, ack-coupled eviction, the cache+archive query union, and restart durability.

Admin CLI

hypaware-server-admin wraps every admin endpoint for docker-exec workflows (mint-token, list-gateways, revoke-gateway, query, run-archive, …). Auth via HYPSERVER_ADMIN_TOKEN.

Docker

See the header of Dockerfile — the build context must contain both hypaware/ and hypaware-server/ side by side.

About

HypAware Server: enterprise companion to HypAware — spools, combines, archives org-wide telemetry and serves admin SQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors