Strata is pre-1.0. APIs, protocol, and storage format may change.
strata_admin
strata_admin is a read-only status page built with
Lustre. strata_server serves it at
/admin/*.
http://localhost:8000/admin?token=<STRATA_TOKEN>The page reads the shared secret from the token URL parameter and opens a
WebSocket connection. The server sends the current status when the page
connects. It sends updates every two seconds by default.
What it shows
Section titled “What it shows”For each document the server knows about:
- document id;
- stored size;
- time of the last change;
- number of active connections;
- present users and their colors.
The header shows whether the page needs a token, is connecting, is online, is offline, or received invalid server data.
Building
Section titled “Building”just admin-buildThis compiles the app and copies the result into
packages/strata_server/priv/admin. Point STRATA_ADMIN_DIR elsewhere to
serve a different build.
Source: packages/strata_admin.