- TypeScript 96%
- CSS 3%
- Go <1%
- Shell <1%
- JavaScript <1%
- 3 more languages <1%
Multi-region uptime monitor #
Uptime monitoring on a Node API and scheduler backed by PostgreSQL, with checks from up to nine regions run by Cloudflare probe Workers. Includes latency charts, request history, optional DNS diagnostics, notification destinations, public monitor views, and grouped status pages.
Environment Architecture #
Production and staging run the same way. The API and the scheduler are Node 24 services on a VPS next to PostgreSQL 18, and a reverse proxy on the VPS serves the built web UI. Cloudflare only hosts the regional probe Workers and the test target Worker.
- Production: See the deployment runbook and the Cloudflare probe guide.
- Staging: Debian 12 VPS (
217.217.227.164). See the canonical VPS staging runbook and the Cloudflare staging probe guide.
Free hosted version #
The first version includes AT Protocol
OAuth signup, dedicated tenant schemas, team access, and an operator dashboard.
Use the hosted runbook for local OAuth development
and deployment. Admission is controlled by the operator admission_open toggle
with fixed product limits (3 monitors, 300-second checks, 3 regions, 3 members,
1 status page). The public landing currently collects interest through
identity-only AT Protocol OAuth. Signups appear in the operator page and do not
allocate tenant slots.
The product release plan covers positioning,
user journeys, operations, launch gates, and the broader roadmap.
The platform research records infrastructure
limits, costs, and requirements for a later paid release.
Current OAuth metadata #
The canonical OAuth client ID and metadata URL is https://uptime.noz.am/oauth-client-metadata.json. The legacy metadata URL remains available with its own client ID. See the release report for validation, login compatibility, credential rotation, and rollback guidance.
Current UI release #
The centered landing follow-up is live at https://uptime.noz.am since
2026-11-02 22:14:05 UTC. The current UI root is
/opt/uptime-staging-web/releases/landing-centered-20261102/dist. The homepage
headline and form are vertically centered between navigation and footer. The free plan
envelope section was removed; the homepage footer sits at the viewport bottom with
16px page padding and flows normally for tall content. Shared footer links wrap on
narrow screens. The release report,
validation and
deployment receipt record
five viewport checks in light and dark Chromium, mocked signup and pricing checks,
all 81 matching served hashes, healthy services and rollback to the retained
landing cleanup root. The full suite had 1,527 passes, three known analytics
failures and two scheduler database skips; all 371 web tests and typechecks passed.
Authenticated flows, new signup and email delivery were not tested.
Settings readability #
The settings summary update shipped on 2026-11-02 at 18:19:43 UTC and remains in the current UI. Settings show saved values until a contextual Edit, Add or Manage action opens an editor. Larger headings, more spacing and less repeated text improve readability. See the release report and deployment receipt for validation, HTTPS hashes and rollback to the retained settings readability root. Chromium passed 50 mocked checks and seven supplemental checks; all 371 web tests passed. The full suite is not green: 1,527 passed, three known analytics tests failed and two scheduler database tests were skipped. Authenticated live flows and real email delivery were not tested.
Monitoring controls and integrations #
All six requested monitoring features are deployed at https://uptime.noz.am as of 2026-11-01: heartbeat monitors, manual diagnostics, maintenance windows, API tokens and Terraform, HTTP request settings and authentication, and alert policies. See the monitoring controls guide and release report for usage and evidence. Control migrations 0010–0011 and tenant migrations 0025–0032 are applied with zero pending. The deployment receipt records healthy services, fresh observations in all nine regions, the public report, verified UI bytes, backup and rollback evidence. Three unrelated operator analytics tests failed, and authenticated live UI flows were not validated. The Terraform provider was tested locally and has not been published to a registry.
Advanced monitoring batch #
HTTP response assertions, certificate and domain expiry warnings, heartbeat run
history, incident timelines, regional confirmation, and status page email
subscriptions are live at https://uptime.noz.am since 2026-11-01 18:15:13 UTC. See the
feature guide and release report
for contracts, migration constraints, and evidence. The deployment receipt
records the previous immutable UI root at /opt/uptime-staging-web/releases/advanced-20261101/dist,
matching HTTPS hashes, retained backups and rollback, and no need to roll back.
All 13 populated tenants have 31 migrations applied and zero pending; control has
11 applied and zero pending. The scheduler has PUBLIC_APP_ORIGIN configured.
The API and one scheduler were healthy, with 28 check runs, fresh observations in
all nine regions, and a fresh public report after cutover.
The final 12-package run passed 1,520 tests, with three known unrelated operator
analytics failures and two scheduler PostgreSQL skips, so the full suite is not green.
The existing immutable UI candidate passed 364 web tests and 23 Chromium checks
against a mocked API. A controlled probe
passed GET assertions and a POST status assertion. HEAD origin method preservation
remains open: a signed HEAD received 200 while direct HEAD returned 401 and origin
logs showed GET; see the diagnosis.
Public /health returns the frontend HTML fallback, not API health; direct API health
returned 200 and anonymous /api/monitors returned 401. TLS and RDAP network behavior
was mocked; authenticated live CRUD and email delivery remain unverified.
Architecture #
- The API layer (
apps/api-worker, Node 24 and PostgreSQL 18 only) handles authentication, configuration, and private history. - The coordinator / scheduler (
apps/coordinator-worker, Node 24) runs as a single minute dispatcher. It claims due checks and sends signed regional probe batches. - The scheduler publishes reports to R2 through the API's configured storage integration.
- Regional probe Workers perform the target HTTP requests across worldwide PoPs.
- The VPS reverse proxy serves the React UI built with
pnpm --filter @uptime/web build.
Development and verification #
Requires Node.js 24+, pnpm 11.24.0, a PostgreSQL 18 database, and a Cloudflare account for deploying probes.
pnpm install --frozen-lockfile
pnpm hash:admin
Copy the required API values from .env.example into an ignored .env file and
fill in local secrets. Build and start the API, then start the UI in a separate
terminal:
pnpm --filter @uptime/api-worker build:node
pnpm --filter @uptime/api-worker start:node
pnpm --filter @uptime/web dev
Vite serves the UI on port 5176 and proxies /api to the local API on
port 8787. Set UPTIME_API_PROXY_TARGET if using another port. Background checks
also require the scheduler, secrets, and reachable regional probes; see
the deployment runbook.
Compiling VPS Bundles #
# Build Node 24 API bundle (apps/api-worker/dist/node/server.mjs)
pnpm --filter @uptime/api-worker build:node
# Build Node 24 Scheduler bundle (apps/coordinator-worker/dist/node/scheduler.mjs)
pnpm --filter @uptime/coordinator-worker build:node
Checks and Tests #
pnpm typecheck
pnpm test
pnpm build
scripts/tests/deploy-workers.sh
pnpm generate:wrangler -- --check
Deployment #
- Production Deployment: Follow the VPS deployment runbook for the API, scheduler, and web UI, and the deployment runbook for the overall sequence and rollback. Deploy probe Workers with the Cloudflare probe guide.
- Staging Deployment: Follow the canonical VPS staging runbook and manage PostgreSQL via
scripts/postgres-staging-bootstrap.ts.
Validate the probe bundles without deploying:
scripts/deploy-workers.sh --dry-run
Operational behavior #
- Region placement hints express affinity, not a guaranteed city or source IP.
- Requests require an HMAC signature and a current timestamp.
- Detailed observations default to seven days of retention; daily aggregates remain available. DNS diagnostics default to 30 days.
- Public monitor reports include the available retained observation history. Closed latency history uses persisted hourly aggregates; the rolling 24-hour window (up to 25 hours from the floored hour) and partial oldest hours at the 7-day and 30-day boundaries use raw observations. Each aggregate keeps exact latency-value frequencies and 15-minute summaries, so percentiles and chart detail remain available.
- Uptime charts use cached daily bars for closed days and aggregate the current day's observations separately.
- HTTP notification providers are supported; SMTP delivery is unsupported in this application.
- Monitor intentionally public targets. Literal-address and redirect checks do not provide DNS-to-socket pinning or replace origin access controls.
- Staging budget policy: Budget enforcement is intentionally disabled on staging VPS (
BUDGET_ENFORCEMENT_DISABLED=true). Production defaults remain strictly enforced.
See architecture for the runtime responsibilities, deploy/vps/staging/README.md for staging VPS operations, and operations for general configuration.