Skip to main content

Reading the Map

Alpha

This feature is alpha. Names, fields, and behavior can change or be removed at any time without notice.

Press ? on the map for a short legend in the side panel.

What is in view​

The map holds one neighborhood of your organization, not all of it:

  • The focus. The environment named with --env, or else the environment of the most recent deployment.
  • Its neighbors, out to --depth hops (1 by default). A neighbor is an environment whose resources an instance uses, an environment that uses this environment's resources through a remote reference or an environment default, or the environment this one was forked from.
LabelMeaning
🔭One hop past the edge. An environment in view links to it. Select it to move the focus there and bring it into view.
no accessAn instance in view uses a resource from this environment, but you cannot view the environment.

The focus moves when a selection rests for a moment, when you press enter, and when a search moves it. Every node glides from its old place to its new one, and the environments around the new focus come into frame.

What moves​

MarkMeaning
Sparks along a linkResources flowing from the environment that produces them to the environment that uses them. With traffic from md/v1/traffic, the rate sets how many sparks run and how fast.
Red or amber sparksErrors on the link: amber for 1 to 9, red for 10 or more
Ring around an environmentThe environment's instances by status, as arcs: green provisioned, red failed, blue not deployed, gray decommissioned
Red pulseAn alarm is firing in the environment
Comet around a ringA provision or decommission is running or queued. A plan does not count.
Ripple with a rising flashSomething just happened there: an audit log event or a stash change. See Flashes.
Spinning white and teal haloThe selected environment
Closing rings and crosshairs--watch just took the view to a new alarm
Twinkling stars, falling streams, or a gridThe palette's backdrop

Flashes​

Where something happens, the environment ripples and a flash rises over it. By default the flash is an emoji:

FlashWhat happened
🚀A deployment started
✅A deployment completed, or an alarm cleared
ðŸ’ĨA deployment failed
🛑A deployment was aborted
📝A deployment was proposed
👍A deployment was approved
👎A deployment was rejected
ðŸšĻAn alarm fired
ðŸĐšAn instance's health changed (md/v1/health)
📊An instance's usage changed (md/v1/usage)
📈An instance's traffic changed (md/v1/traffic)
ðŸ“ĢAn environment's banner changed (md/v1/banner)
🔗An environment's links changed (md/v1/links)
🗑A stash key that a widget draws was deleted
🛠An instance changed
🌍An environment or project changed
âœĻAnything else

A stash change rises as what its key measures. A widget you pin to any other key rises as the widget it draws, so a pinned health widget rises as ðŸĐš. Only keys a widget draws, well-known or pinned, rise or reach the ticker. A script's other keys stay quiet. See The stash feed.

The ticker leads each event with the same emoji.

--flashes chooses what rises, and what leads each line on the ticker:

ValueFlash
emojiThe emoji for the event. The default.
wordsThe event's name, such as deployment completed
offNothing rises, and the ripple still shows. The ticker keeps its emoji.
mass dashboard --flashes words

Lines​

LineMeaning
SolidThe environment at the end uses resources from the environment at the start
DashedThe environment was forked from the one at the other end
1.2k/s 340ms ✕12Requests per second, p95 latency, and errors in the last 5 minutes, from md/v1/traffic
staleNo traffic report for 10 minutes

Badges and labels​

MarkMeaning
â–ēNN alarms firing
↑NN instances can upgrade
⚑The environment has a banner
◆An application instance
◌An environment you cannot view
✎A note
Banner across the top lineThe selected environment's banner, or else the most urgent banner in view: error, then warning, then info

The ? legend beside the map

Blast radius​

With blast radius on (b), everything downstream of the selected environment lights up by how many hops away it is:

ColorHops
RedThe source
Orange1 hop
Yellow2 or more hops

The links between them take the same colors. When the selected environment has a firing alarm, the blast radius starts at the alarming instance rather than the whole environment.

Themes​

--theme sets how the map is drawn, and v switches themes while Massdriver Constellation runs, in this order:

The metro theme

The radar theme

The plain theme

ThemeLayoutHow links are drawn
constellationA force layout. Environments that share resources pull together, and the focus holds the center.Curved lines with sparks
metroA band for each project, and a column for each layer of producers, so resources flow left to rightTrack drawn with box characters, with sparks running down it. Each project's line has its own color.
radarThe focus at the center of a scope. Each environment sits on the ring as many hops out as it is, and environments the focus cannot reach sit on the edge.Straight lines. A sweep turns around the scope, and blips light up as it passes them.
plainEnvironments listed by project, one line each, in columns that fill the width of the mapNo links. Nothing moves except the dot of an environment that is deploying.

In metro, a station shows as ◉ in its environment's health color. It blinks red while an alarm fires and spins while a deployment runs.

In plain, each project is a heading in its own color, and each environment is one line: a dot in its health color, its name, and then what applies to it.

On a plain lineMeaning
Spinning blue dotA deployment is running
🔭 in place of the dotOne hop past the edge
◌ and no accessYou cannot view the environment
â–ē N alarmingN alarms firing
âŸģ N deployingN instances deploying
✕ N failedN instances failed
N/M upN of the environment's M instances are provisioned
↑ NN instances can upgrade
⚑The environment has a banner, colored by its level
$1.2k/moLast month's spend, with cost on (c)

The arrow keys move the selection from line to line, and the blast radius colors the names of the environments it reaches.

Palettes​

--palette sets the colors and the backdrop, and p switches palettes while Massdriver Constellation runs. Red, orange, and yellow mean alarms, warnings, and the blast radius in every palette.

The blueprint palette

The rain palette

PaletteBackdrop
nightA starfield
rainFalling green streams
blueprintA drafting grid

Braille or blocks​

The map is drawn with braille dots by default, which works in any terminal. --render blocks fills the dots in as solid blocks, so links and rings draw as solid lines rather than dotted ones. It looks best in a terminal that draws block characters itself, such as Ghostty.

mass dashboard --render blocks

Toggles​

KeyToggle
bBlast radius
aInstances as dots around each environment. Applications are larger dots.
cRings sized by last month's spend, and the spend under each name
gProject names colored by project, and each project's environments pulled together
sProducers stacked above the environments that use their resources
vThe next theme
pThe next palette

Pressing b, a, c, g, or s shows all five toggles on the bottom line for a few seconds, each with ● when it is on and ○ when it is off.