Mass Dashboard
mass dashboardโ
Watch your environments, alarms, and runtimes live
Synopsisโ
Dashboard
A live view of your organization in the terminal.
The map centers on one environment: the one you name with --env, or else the one with the most recent deployment. It reads that environment and the ones it shares resources with, out to --depth hops. Environments past the edge show a ๐ญ. Select one and the view moves there: the focus glides to the middle and the environments around it come into frame. / finds an environment by name anywhere in the organization. The key line at the bottom shows what works where you are: what you can do with the picked instance, the selected deployment, or the logs you are following. ? lists every key.
Constellation places those environments on a map, linked to the environments whose resources they use and the environment they were forked from. Sparks travel each link from the producer to the consumer. Rings show the status of each environment's instances, a firing alarm pulses red, and a running deployment sweeps around its ring. Select an environment to see its instances, alarms, deployments, upgrades, the environments on either side of it, and its blast radius: everything downstream that its trouble could reach. With cost on, each ring is sized by last month's spend. f follows the selected environment's deployment logs in the side panel: the deployment running there, or else the most recent one. Lines stream in as they are written, and the panel keeps the final status when the deployment ends. Streaming needs a personal access token; with a service account the logs are read every two seconds instead. Page up and page down scroll back through them, home goes to the start, and end follows the newest again.
On the map, n and N pick an instance in the selected environment's side panel. y approves the picked instance's deployment that is awaiting approval (โธ), and d deploys it again with its current configuration. Both ask first, naming the instance, its environment, and how many environments and instances depend on it downstream; y or enter goes ahead, c shows the configuration of the deployment awaiting approval, and any other key cancels. --read-only turns both off.
Runtimes shows which runtime versions your applications build on and your instances run, and what a patch, minor, or major release would leave behind.
Alarms lists every firing alarm in view with how far its blast radius reaches.
Upgrades lists every instance in view that can move to a newer bundle version.
Deployments is where deployments get decided. It lists the deployments of the instances in view: first those awaiting approval, with who proposed each one, how long ago, and their message; then those in flight and how long they have run; then, dimmer, the 20 most recent to finish. enter shows the selected deployment's environment on the map, and f follows its logs across the whole screen. c shows its configuration: the message, the bundle version, and each param it changes since the instance's last completed provision, with anything that looks like a secret masked. y approves a deployment awaiting approval, and c in that confirmation shows its configuration before you decide. x rejects one; type a reason before pressing enter and it is kept in the deployment's stash under review/rejection. If the reason cannot be saved, the deployment is still rejected and the dashboard says so. --read-only turns off y and x too.
A live ticker follows the audit log. When something happens, its environment lights up on the map. A deployment or an alarm re-reads the status of what is in view; an instance or a connection added or removed, or a remote reference or environment default set, re-reads the map itself. --refresh also re-reads the status of what is in view on a timer, except while every environment in view streams its stash, and r re-reads everything.
Replay plays the audit log back, from five minutes to 24 hours ago, onto the map, so you can watch a rollout, an incident, or a busy afternoon move across your environments.
The dashboard follows the stash as a feed. It reads every stash in view once, then streams each key as it is set or deleted. Streaming needs a personal access token; with a service account, or while a stream reconnects, the dashboard reads the stash every few seconds instead (--stash). Each change goes on the ticker and lights up its environment. The ticker draws a widget's value the way the widget looks, without its key: a health dot, a small usage bar, traffic as 40/s ยท โ7 ยท 180ms, a banner's message, or the names of the links. Any other JSON value reads as its fields, version: 1.2 ยท ok: true. Widgets show where they belong: md/v1/health colors an instance, md/v1/usage draws its usage bar, md/v1/traffic sets the pace of the sparks on the links an instance sends on and labels them with requests per second, latency, and errors, md/v1/banner runs across the top of the map and flags its environment, and md/v1/links puts its dashboards and runbooks in the side panel. Your annotations show too: widgets you pinned to any stash key, and notes rendered from their Liquid templates. Annotations need a personal access token; a service account has none.
With --watch, an alarm that starts firing takes the view to its environment, locks on, shows its blast radius under a banner that counts up, and rings the terminal with a desktop notification. When it clears, the banner says how long it lasted and the view goes back where it was.
w opens the write-up of an incident: the one behind the selected alarm or environment, or else the most recent. j, k, the arrows, pgup, pgdn, g, and G scroll it; e edits the markdown, to fill in the root cause and follow-ups, and esc goes back to reading it; q or esc closes it, asking first if there are unsaved changes. ctrl+s saves two files to the current directory, named for the alarmed instance, the alarm, and the minute the incident started, such as incident-ecomm-prod-database-cpu-high-20261126-1402.md and incident-ecomm-prod-database-cpu-high-20261126-1402.json, replacing any saved before. Opening the same incident again before the dashboard closes shows the text last saved. The markdown has how long the incident lasted, the alarm and its message, its blast radius, a timeline of the deployments, alarms, and stash changes in that blast radius from shortly before it fired until it cleared, and sections for the root cause and follow-ups. The JSON is a recording: the environments in view when it fired, their stash, and that timeline. --playback opens the dashboard on a recording, offline, and replays it on the map; space pauses and [ and ] change the speed.
--theme changes how the map is drawn: constellation (the default) scatters environments like stars, metro lays them out as stations on transit lines with producers to the left, radar puts the focus at the center of a sweeping scope with each environment on the ring as many hops out as it is, and plain lists environments by project, one line each, with their health, alarms, deploys, and upgrades, and nothing moving. v switches between them. Where something happens, the environment ripples and an emoji rises for it: ๐ a deploy starting, โ
one finishing, ๐ฅ one failing, ๐จ an alarm. A stash change rises as what its key measures: ๐ฉบ health, ๐ usage, ๐ traffic, ๐ฃ a banner, or ๐ links. Only keys a widget draws, well-known or pinned, rise or reach the ticker; a script's other keys stay quiet. The ticker leads each event with the same emoji. --flashes words shows the event's name in both places instead, and --flashes off shows only the ripple. --palette changes the colors and backdrop: night (the default), rain, and blueprint. p switches between them. --render blocks fills the map's dots in as solid blocks, so links and rings draw as solid lines rather than dotted ones. It suits a terminal that draws block characters itself, such as Ghostty; braille works in any terminal.
e saves the map as it stands to an SVG in the current directory, named for the organization and the minute, such as constellation-acme-20261126-0905.svg. It keeps the theme, the palette, and the selection, and draws in vectors, so it stays sharp on a slide or in an incident write-up. The constellation theme also draws the blast radius, alarm pulses, and traffic; metro and radar draw the blast radius in their links, and plain exports its list.
--tutorial walks through what everything on the map means, one thing at a time, on a made-up organization that shows every state at once. It needs no profile and reads nothing from Massdriver. โ, space, or enter goes to the next step, โ goes back, and q or esc quits; past the last step the made-up organization is yours to explore.
When the output is not a terminal, mass dashboard prints the same data as tables.
Keysโ
The keys above are the defaults. To change them, list actions and their keys under keys in ~/.config/massdriver/dashboard.yaml ($XDG_CONFIG_HOME/massdriver/dashboard.yaml when XDG_CONFIG_HOME is set), or in the file you name with --keys:
keys:
approve: [y]
follow_logs: [f, L]
quit: [q, ctrl+c]
An action's keys replace its defaults everywhere it works, so rebinding one of these changes more than one place: quit, left, right, select, follow_logs, approve, config, cancel, submit, scroll_up, scroll_down, page_up, page_down, top, bottom, close, save, and force_quit. A single key needs no list, and an empty list turns the action off. ctrl+c always quits, or cancels a rejection, whatever the file says, and cannot be bound to anything else. Keys are named as space, enter, esc, tab, shift+tab, backspace, up, down, left, right, shift+up, pgup, pgdown, home, end, f1 through f20, ctrl+ or alt+ and a key, or a single character; quote punctuation YAML reads as its own, such as "?", "[", and "]". The dashboard will not start if the file names an action or key it does not know, if it is not valid YAML, or if one key would do two things in the same place. The search box, the rejection reason, and the write-up editor take any character you type, so their actions cannot be bound to one; a named key or an alt+ key works there.
| Action | Where | Default keys |
|---|---|---|
quit | any tab; replay picker; tutorial | q ctrl+c; ctrl+c q; q esc ctrl+c |
constellation, runtimes, alarms, upgrades, deployments | any tab | 1, 2, 3, 4, 5 |
up, down | any tab | up k, down j |
left, right | any tab; replay picker | left h, right l |
next, prev | any tab | tab, shift+tab |
select | any tab; replay picker | enter; enter space |
reload | any tab | r |
open | any tab | o |
write_up | any tab | w |
help | any tab | ? |
dismiss | any tab | esc |
find | map | / |
follow_logs | map; Deployments | f |
pick_next, pick_prev | map | n, N |
approve | map; Deployments | y |
deploy | map | d |
replay | map | t |
theme | map | v |
palette | map | p |
export | map | e |
toggle_blast, toggle_apps, toggle_cost, toggle_projects, toggle_stack | map | b, a, c, g, s |
pause, slower, faster | replay | space, [, ] |
bump_none, bump_patch, bump_minor, bump_major | Runtimes | 0, p, m, M |
config | Deployments; approval | c |
reject | Deployments | x |
logs_page_up, logs_page_down | logs | pgup ctrl+u, pgdown ctrl+d |
logs_up, logs_down | logs | shift+up, shift+down |
logs_top, logs_bottom | logs | home, end G |
confirm | approval and deploy | y enter |
submit | rejection reason; search | enter |
cancel | replay picker; rejection reason; search | esc t; esc ctrl+c; esc |
scroll_up, scroll_down | configuration; write-up | up k, down j |
page_up, page_down | configuration; write-up | pgup b, pgdown space f |
half_page_up, half_page_down | write-up | u ctrl+u, d ctrl+d |
top, bottom | configuration; write-up | home g, end G |
close | configuration; write-up | esc c q; q esc |
edit | write-up | e |
save | write-up and its editor | ctrl+s |
preview | write-up editor | esc |
discard | unsaved write-up | y |
force_quit | configuration; write-up and its editor | ctrl+c |
forward, backward | tutorial | right space enter, left |
Examplesโ
mass dashboard
mass dashboard --env ecomm-prod --depth 2
mass dashboard --refresh 10s --events 2s --stash 1s
mass dashboard --watch
mass dashboard --read-only
mass dashboard --playback incident-ecomm-prod-database-cpu-high-20261126-1402.json
mass dashboard --theme radar --palette rain
mass dashboard --tutorial
mass dashboard --keys ~/dotfiles/dashboard-keys.yaml
mass dashboard --profile production | less
mass dashboard [flags]
Optionsโ
--depth int How many hops from the focus to read (default 1)
--env string Environment to center on, by id; the most recently deployed one when left out
--events duration How often to read new activity from the audit log; 0 turns the live ticker off (default 5s)
--flashes string What rises over an environment where something happens: emoji, words, off (default "emoji")
-h, --help help for dashboard
--keys string Key bindings file; the default is $XDG_CONFIG_HOME/massdriver/dashboard.yaml, or ~/.config/massdriver/dashboard.yaml without XDG_CONFIG_HOME, when it exists
--palette string Colors and backdrop: night, blueprint, rain (default "night")
--playback string Replay an incident recording written with w, offline
--read-only Turn off approving, rejecting, and deploying
--refresh duration How often to re-read the status, deployments, and alarms of the instances in view, unless every environment in view streams; 0 re-reads them only when the audit log shows a change (default 30s)
--render string How the map's dots are drawn: braille dots, or solid blocks for terminals that draw block characters themselves, such as Ghostty (default "braille")
--stash duration How often to read the stash when it cannot be streamed, as when the profile signs in without a personal access token or while a stream reconnects; 0 reads it with each refresh (default 3s)
--theme string How the map is drawn: constellation, metro, radar, plain (default "constellation")
--tutorial Walk through what the map shows, offline, on a made-up organization of its own; cannot be combined with --theme, --watch, --read-only, --env, --depth, or --playback
--watch Jump to any alarm that starts firing in view while the dashboard is open, and send a desktop notification
Options inherited from parent commandsโ
--profile string Configuration profile to use (overrides MASSDRIVER_PROFILE and the active profile)
SEE ALSOโ
- mass - Massdriver Cloud CLI