Introducing a new way to review your PRs.

Read the announcement

gotempsh / temps

AI-native open-source alternative to Vercel + Sentry + PostHog + Pingdom + Resend + E2B. 440+ CLI operations with drop-in skills for Claude Code, Codex & OpenCode — deployments, analytics, session replay, error tracking, OpenTelemetry, email, sandboxes & AI gateway in one self-hosted Rust binary.

View on GitHub

25 documents · Updated Oct 21, 2026

docs / status-pages

Status pages

Status pages let a project publish a safe view of service health. A project selects monitors, gives them public names, records incidents and updates, then publishes a page with current state, uptime history, and selected public incident messages. The page can use the platform public address or a verified custom hostname. For the wider data path, see Observability and analytics, Analytics products, and Telemetry ingestion and monitoring.

Status page model

The status-page system joins project-owned health data with a project-controlled public view. The public view is separate from the internal monitor and incident records, so a project can share useful service information without sharing private names, URLs, or probe errors.

Public page definition

A public status page is a project-owned publication with a title, an optional description, an ordered set of selected monitors, and a publication state. A page starts as a draft and gets an unguessable public address only when it is created; publishing controls whether that address serves the page.

The page stores a public display name for each selected monitor. This name is what visitors see, while the internal monitor name remains available only to project users. A project can change the selection or page text, take the page offline, replace its public address, or delete it. The form keeps selected monitors in page order and never uses an internal monitor name as a default public name. Each selected monitor must have a non-empty public name, and a page can show no more than 50 monitors. (web/src/components/project/status-pages/status-page-form.ts#L12-L17, web/src/components/project/status-pages/status-page-form.ts#L26-L65, web/src/components/project/status-pages/status-page-form.ts#L71-L110)

The platform public address can be unavailable when the installation has no public URL or ingress setting. In that case, the management tools show the missing setup state instead of inventing a link. A configured address can also carry a warning when it is not reachable from outside the local machine or network.

References: crates/…/status_pages.rs• L13-28 crates/…/status_page_monitors.rs• L13-23 crates/…/service.rs• L34-66 crates/…/types.rs• L35-99 web/…/status-page-form.ts• L12-110 web/…/public-link.ts• L4-53 web/…/StatusPagePublicLink.tsx• L105-160

Custom domains

A custom domain gives a published status page a project-owned hostname in addition to its platform public address. The project proves control of the hostname with HTTP or a DNS TXT record, then the platform issues a certificate before the hostname serves the page.

The domain remains unavailable until verification succeeds and the page is published. The hostname serves the status page and its machine-readable summary only; other paths return not found. HTTP-verified certificates renew automatically near expiry. DNS-verified certificates need a new TXT record and a user-triggered renewal, while the current certificate keeps serving during a pending or failed renewal. The operator flow accepts only a hostname, not a URL, wildcard, bare label, or path. (web/src/components/project/status-pages/status-page-form.ts#L157-L178) A verified domain shows as serving only when the page is published; otherwise it remains verified but unpublished. (web/src/components/project/status-pages/status-page-form.ts#L182-L199, web/src/components/project/status-pages/status-page-form.ts#L216-L235)

References: web/…/StatusPageDomains.tsx• L126-169 web/…/StatusPageDomains.tsx• L172-237 web/…/StatusPageDomains.tsx• L430-452 web/…/StatusPageDomains.failure.test.tsx• L75-123 web/…/status-page-form.ts• L157-235 apps/…/index.ts• L185-256 apps/…/index.ts• L258-404

Monitor health

A monitor is a project environment check that produces a current service state and a history of check results. The platform uses those results to show component state and uptime on a status page.

Monitor health uses a small public vocabulary:

  • Operational: recent checks succeed.
  • Degraded: checks show a partial or reduced service.
  • Outage: checks show a major failure.
  • Unknown: the monitor is paused, has no recent result, or has no data yet.

Each environment can receive a managed monitor as part of its lifecycle. A successful deployment can refresh the monitor path and prompt a new check, which helps the status view follow the service that users can reach.

References: crates/…/monitor_service.rs• L38-70 crates/…/health_check_service.rs• L24-48 crates/…/types.rs• L184-220 crates/…/plugin.rs• L67-161

Health and incident flow

The system turns service checks into a project view, then combines that view with human incident records. This lets an automatic check show a current signal while an operator explains the cause and progress.

The main flow is:

flowchart LR
    Deploy[Environment or deployment] --> Monitor[Monitor check]
    Monitor --> Result[Current state and uptime history]
    Result --> Overview[Project status overview]
    Operator[Project operator] --> Incident[Incident]
    Incident --> Update[Incident update]
    Overview --> Page[Published status snapshot]
    Update --> Page

Incident lifecycle

An incident records a service problem for a project. It can relate to an environment or monitor and has a severity and a progress state. The supported progress states are investigating, identified, monitoring, and resolved. A new incident starts in the investigating state and gets an initial private system update.

An incident status change creates a new update with a message. Updates form the timeline that explains what the team knows and what visitors should expect. The incident remains active until it reaches resolved. Project users choose whether each non-system update is public and provide the message that visitors can read. The form requires a known status and a non-empty message within the server limit of 5,000 characters. Unknown existing statuses fall back to investigating in the operator form. (web/src/components/project/status-pages/status-page-form.ts#L19-L24, web/src/components/project/status-pages/status-page-form.ts#L133-L155)

References: crates/…/status_incidents.rs• L10-25 crates/…/status_incident_updates.rs• L10-25 crates/…/incident_service.rs• L22-33 crates/…/incident_service.rs• L122-223 crates/…/incident_service.rs• L284-328 web/…/status-page-form.ts• L19-24 web/…/status-page-form.ts• L133-155

Public incident selection

Incident visibility is an explicit choice. Updates are private by default, and only non-system updates marked public can appear on a published page. System updates cannot become public because they may contain internal incident text.

The page shows an incident only when it has a public update and its scope matches the page selection. A monitor-linked incident follows that monitor. An environment-linked incident follows selected monitors in that environment. A project-wide incident can appear on every page for the project. Active incidents take priority over resolved history when the page chooses which incidents to show.

References: crates/…/status_incident_updates.rs• L16-23 crates/…/snapshot.rs• L547-664 crates/…/snapshot.rs• L769-835 crates/…/types.rs• L258-285 web/…/status-page-form.ts• L133-155

Public status snapshots

A public status snapshot is the visitor-facing result of a page definition, recent monitor checks, uptime history, and eligible incident updates. The platform builds the snapshot before a request and serves the ready HTML or JSON result from the public boundary.

Snapshot assembly

Snapshot assembly reads only the monitors selected for the page. It maps internal check states to the public vocabulary, calculates uptime for a fixed history window, and combines the worst component state with active public incidents to produce the overall page state.

The snapshot contains public names and status data rather than internal identifiers. It does not expose project or environment names, monitor URLs, host names, probe errors, incident titles, or private update text. Unknown internal states become Unknown instead of being copied into the public response.

Published snapshots refresh on a regular cycle and rebuild after page or incident visibility changes. If a change cannot produce a safe new snapshot, the affected page is removed from public service until a later refresh succeeds.

References: crates/…/snapshot.rs• L4-26 crates/…/snapshot.rs• L269-350 crates/…/snapshot.rs• L690-767 crates/…/types.rs• L109-192 crates/…/types.rs• L276-290

Public delivery

The public router serves a server-rendered HTML page and a machine-readable JSON summary. Both use the page's unguessable slug as the platform public capability and read from the snapshot cache, so a visitor request does not run health checks or query the database. A verified custom domain provides the same page and summary on its hostname.

The delivery boundary is read-only and unauthenticated. Unknown, malformed, unpublished, deleted, and replaced slugs receive the same not-found response. A removed or unverified custom domain also answers not found. Public JSON permits cross-origin reads for status widgets, while the HTML response uses restrictive browser headers and contains no script.

sequenceDiagram
    participant Visitor
    participant PublicRouter
    participant SnapshotCache
    participant Refresh as Snapshot refresh
    participant Sources as Checks and incidents

    Sources->>Refresh: Provide current public data
    Refresh->>SnapshotCache: Build HTML and JSON snapshot
    Visitor->>PublicRouter: Request platform slug or verified domain
    PublicRouter->>SnapshotCache: Look up published snapshot
    SnapshotCache-->>PublicRouter: Ready HTML or JSON bytes
    PublicRouter-->>Visitor: Status page, summary, or identical 404

References: crates/…/public.rs• L4-14 crates/…/public.rs• L290-381 crates/…/snapshot.rs• L181-257 crates/…/render.rs• L4-23 crates/…/render.rs• L91-184 web/…/StatusPagePublicLink.tsx• L142-160 web/…/StatusPageDomains.tsx• L446-469

Project controls

Authenticated project operations define what the public page says and when it is available. The platform checks project scope before changing monitors, incidents, page selection, publication, public update visibility, the public address, or custom domains.

Management boundary

Project users can read monitor and incident data according to status-page read access. Actions that change public content require the matching project write or create permission. Unpublishing, URL rotation, domain removal, and deletion take effect at the public boundary without changing the underlying monitor history or incident record.

The platform records status-page mutations as audit events. These records connect the actor and request context to the project resource and the public-state change, which supports review of changes that affect visitors.

References: crates/…/status_pages.rs• L4-13 crates/…/status_pages.rs• L116-167 crates/…/status_pages.rs• L271-480 crates/…/status_page.rs• L671-730 crates/…/status_page.rs• L943-1023 web/…/StatusPageDetail.tsx• L290-457 apps/…/index.ts• L407-602

Operator interfaces

The web console and CLI provide the same project controls for different operator workflows. Both let an operator create and edit a draft, select monitors with public names, publish or unpublish the page, replace its public link, and delete it. The console also shows whether a platform address is ready, missing, or unsafe for outside visitors instead of offering a link that cannot work. It refreshes custom-domain state after page publication changes, so certificate and serving status follow the public page state.

Custom-domain controls follow the domain lifecycle rather than the page edit flow. An operator adds a hostname, chooses HTTP or DNS verification, follows the displayed DNS instructions when needed, verifies ownership, and renews or removes the domain as its state requires. If the server refuses verification or renewal, the console shows the server's reason and rereads the domain state instead of leaving an old row state on screen. Renewal actions are available only while the page is published. A current certificate remains in service during pending or failed renewal. (web/src/components/project/status-pages/status-page-form.ts#L182-L235)

References: web/…/ProjectStatusPages.tsx• L100-161 web/…/StatusPageDetail.tsx• L291-349 web/…/StatusPageDetail.tsx• L372-458 web/…/StatusPageDomains.tsx• L172-237 web/…/StatusPageDomains.tsx• L337-479 web/…/StatusPageDomains.failure.test.tsx• L75-123 web/…/status-page-form.ts• L182-235 web/…/public-link.ts• L18-60 apps/…/index.ts• L407-602

Change checklist

When these files or sections are changed, remember to consider these:

  • Keep internal monitor and incident states mapped to the public status vocabulary. A new internal value must not appear as raw text or change the overall page state by accident.
  • Keep monitor selection, incident scope, and public update filtering aligned. A change in one rule can expose data from an unselected service or hide an active incident.
  • Keep publish, unpublish, deletion, and URL rotation tied to snapshot-cache updates. A database state change must not leave an old public address serving content.
  • Keep the platform public URL state aligned across API responses, console links, and CLI output. A missing or local-only address must not become a made-up visitor link.
  • Keep custom-domain verification, certificate state, page publication, and hostname routing aligned. A verified hostname must not serve an unpublished page, and a removed hostname must not retain access.
  • Keep page publication refreshes aligned with custom-domain queries. A successful publish or unpublish must not leave certificate or serving state stale in the operator view.
  • Keep HTTP and DNS certificate renewal rules aligned with operator guidance. DNS-verified certificates need a manual renewal path, while pending renewal must preserve the current certificate until replacement succeeds.
  • Keep failed verification and renewal responses aligned with the domain row refresh. A server refusal can change domain state, so the console must show the refusal reason and reread the row.
  • Keep the public response allowlist separate from authenticated response fields. New fields can expose identifiers, URLs, host names, or private text.
  • Keep deployment and environment lifecycle events aligned with managed monitor identity and check paths. Replacing a monitor can break its uptime history or check the wrong service.
  • Keep the form limits and status fallbacks aligned with server contracts. Selected monitors need public names, incident messages need a bounded length, and unknown incident states must not pass through as public status values.

Important failure modes

TriggerConsequenceGuard
A page selects a monitor from another projectThe page could show health data outside its project scopeValidate every selected monitor against the page's project before saving and again while building the snapshot
A private or system incident update is treated as publicInternal incident text reaches visitorsRequire explicit public visibility and reject system updates as public
A page is unpublished but its cached snapshot remainsThe old public URL continues to serve the pageRemove the page from the snapshot cache immediately
A public snapshot includes raw internal status or probe dataVisitors learn internal details or receive an unstable API contractBuild public types from an allowlist and map unknown states to Unknown
A published page has no configured public addressOperators copy a link that visitors cannot open, or the client invents an unsafe addressReturn the missing URL state and point to public ingress settings; never invent a URL
A custom hostname is served before ownership verification or page publicationAn unclaimed hostname or an unpublished page becomes reachableRequire verification and a valid certificate, then serve only while the page is published
A DNS-verified certificate reaches renewal without a new TXT recordThe replacement certificate cannot issue and the hostname can fail after the current certificate expiresShow the renewal state, keep the current certificate serving, and require a manual TXT-record renewal
Verification or renewal is refused but the domain row is not rereadThe operator sees stale domain status and may repeat the wrong actionShow the server reason and refresh the domain list after the failed operation
Public requests query live data or run probesTraffic can increase database and probe load, and response time becomes unstableServe prebuilt snapshots and rate-limit public requests
A selected monitor has no public name or a public name exceeds the contractPage creation or update fails, or the operator cannot state which service visitors seeValidate selected rows before submission and trim only the value sent to the API
An incident update has no message or exceeds the server limitThe update cannot be created and the incident timeline does not advanceRequire a non-blank message and enforce the shared 5,000-character limit in the form
The console offers certificate work for an unpublished pageThe operator starts a domain action that cannot issue or serve a certificateEnable verification and renewal only when the page is published

Key files

FileWhy to read it
crates/…/service.rsShows the status-page publication lifecycle and cache updates after page changes.
crates/…/snapshot.rsShows how selected monitors, uptime, incidents, and public updates become a snapshot.
crates/…/public.rsShows the unauthenticated HTML and JSON delivery boundary.
crates/…/types.rsDefines the separation between authenticated page data and public response data.
crates/…/status_pages.rsShows project-scoped page management, publication controls, and audit boundaries.
crates/…/incident_service.rsShows incident states, update visibility, and incident timelines.
crates/…/monitor_service.rsShows monitor ownership, project health reduction, and managed monitor continuity.
crates/…/health_check_service.rsShows how monitor checks produce the health signals used by status pages.
web/…/StatusPageDetail.tsxShows the operator flow for editing, publishing, unpublishing, rotating, and deleting a page.
web/…/StatusPageDomains.tsxShows custom-domain verification, certificate renewal, and hostname removal from the console.
web/…/StatusPageDomains.failure.test.tsxShows the user-facing contract for refused verification and renewal operations, including server reasons and state refresh.
web/…/StatusPagePublicLink.tsxShows how the console handles ready, missing, and unsafe public addresses.
web/…/status-page-form.tsShows the public-name, incident-update, and custom-hostname rules shared by the console forms.
web/…/status-page-form.test.tsShows the form contract for monitor order, public-name separation, incident updates, hostname input, and certificate action states.
apps/…/index.tsShows the command-line lifecycle for pages, public links, and custom domains.