Heartbeat strip
v0.64.0, changelogBetaA device's check-ins over a window, one cell per stretch: grey where it reported, an outline where it was silent, colour only for a reported problem.
API reference
Generated from the types. Every part also takes className.
HeartbeatStrip
- bucketsrequired
HeartbeatBucket[]The window's stretches, oldest first, as the server aggregated them.- bucketMsrequired
numberEach stretch's length.- events
HeartbeatEvent[] = []- windows
{ value: string; label: string; }[]The windows to offer ([{); the product fetches the buckets for the one chosen.value: "24h", label: "24 h" }] - window
string- onWindowChange
(value: string) => void- view
"table" | "chart""chart" or "table"; uncontrolled fromdefaultViewwhen omitted.- defaultView
"table" | "chart" = "chart"- onViewChange
(view: "chart" | "table") => void- locale
string- timeZone
stringIANA zone for times; the browser's when omitted.- labels
Partial<HeartbeatStripLabels>