Skip to content
Design System
GitHub

System health

The platform's own machinery, for the people who run it: workers, job queues, scheduled jobs, email delivery and the database.

Overview

When to use

  • The platform admin's system page: is anything stuck, failing or about to fill up, and what to do about it.

Use something else

  • A managed device's health: Device lifecycle (device-detail).
  • A status page for customers: Patterns › Status pages.

Blocks

Platform health

The platform's own health: workers and heartbeats, job queues, scheduled jobs, email delivery and the database, with retry and pause for a queue.

BetaControlledRenders only from its props and callbacks, with no sample data or app shell inside: pass your data and handlers.
Install
npx shadcn add @syncrobotic/platform-health
Install its demo, in the app shell
npx shadcn add @syncrobotic/platform-health-demo

Usage rules

  • Healthy is grey. Colour, always with a shape and words, marks only what needs someone: a worker down, failed jobs, a stuck queue, a failed or overdue run, storage nearly full, a replica behind.
  • Every limit is the server's: the heartbeat window, when a queue counts as stuck, the replication lag and the storage share. Without one, the value shows with no verdict.
  • A paused queue is someone's choice, so it is grey; a table waiting for its partitioning migration is expected, not a fault.
  • Each section loads on its own: one failing source shows its error code there and leaves the others readable.
  • PlatformHealthContent takes the server's lists and counts, a data state per section, can and promise callbacks for retry and pause, and labels.