uptime
GraphUptime
One glyph per day. ok, degraded, down, or empty. Wraps every 30 days.
ninety days
One glyph per day, wrapped every 30. Percent is the share of ok days.
█ up▒ slow· down
94 percent uptime over 90 days, Jun 1 to Aug 29MDX
```
+-------------------- [ API ] ---------------------+
| |
| 0% Jun 1 Aug 29 |
| █ up ▒ slow · down |
| |
+--------------------------------------------------+
```install
command
incident window
days as one string. empty days sit as dashes so a gap stays visible.
█ up▒ slow· down
80 percent uptime over 10 days, Mon to FriMDX
```
+------------------ [ WEBHOOKS ] ------------------+
| |
| ███▒█--█·███ |
| 80% Mon Fri |
| █ up ▒ slow · down |
| |
+--------------------------------------------------+
```| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Caption drawn on the top edge of the frame. |
| days | UptimeStatus[] | "ok ok down" | — | ok, degraded, down, or empty. |
| from | string | — | Label at the start of the range. |
| to | string | — | Label at the end of the range. |
| columns | number | 30 | Days per row. Short series are not padded to this width. |
| glyphs | "shade" | "ascii" | "hash" | "bar" | string[] | "shade" | Character set. shade is ·░▒▓█. ascii is .- =#@. Pass a preset or your own characters. |
| palette | "mono" | "duo" | "multi" | "mono" | mono is one accent plus muted. duo paints the second series with --graph-accent-2. multi cycles three accents. |
| corner | string | "+" | Character at each corner of the frame. |
| className | string | — | Passed to the outer frame. |