Skip to main content

Metadata

Alpha

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

Stash entries that have a label show as metadata in the Massdriver UI. Use metadata for values that everyone on the team needs to see, such as a schema version or the result of a deployment step. Everyone with stash:view on the entity sees its metadata. Metadata needs no setup. Add a label when you write the stash entry:

shell
mass alpha stash set billing-dev-app.schema.version "42" --label "Schema version"

Where metadata shows​

PlaceEntries
The Signals tab of an instanceThe instance's widgets, the results of its latest deployment, its scorecards, and its labeled entries. With no labeled entries, the tab says No signals.
A deployment's detailsA Results section with the deployment's results, and a Deployment metadata section with the labeled entries that its steps wrote
The Metadata card on the project overviewLabeled entries on the project

What it looks like​

EntryLooks likeMeaning
A TEXT entrySchema versionschema.version42The label, the key, and the value.
A JSON entryTrafficstats/trafficrps240errors_5m2p95_ms85One tile for each top-level field. A nested object shows as JSON text in its tile.
An entry with flagsDatabase passworddb/password••••••••••••sensitiveimmutableexpires in 2 hoursPills show when the entry expires, when it is immutable, and when it is sensitive. A sensitive value is masked unless you have stash:export on the stash.
Unlabeled entries3 entries have no label.mass alpha stash list billing-dev-appEntries without a label do not show as rows. The Signals tab counts them and gives the command that lists them.

The project card shows the label, the value, and the expiry pill for each entry.

Keys that start with md/ do not show as rows in any of these places, and the Signals tab does not count them as unlabeled entries. Widgets read them instead.

Widgets on the Signals tab​

The instance Signals tab shows the instance's automatic widgets above the entries. Each widget shows as a stat with a label and a value.

StatKeyValue
Healthmd/v2/health or md/v1/healthA colored dot and the state
Trafficmd/v1/trafficA colored dot and the traffic label for the lines that leave the instance, such as 240 rps · 180 ms. It says "stale" when the data is more than 10 minutes old.
Usagemd/v1/usageThe usage bar and the numbers, such as 37 / 100

The label of a stat is the stash entry's label. A usage stat without an entry label uses the label field of its value. Otherwise the stat uses the default label: Health, Traffic, or Usage.

HealthdegradedTraffic240 rps · 180 msConnection pool37 / 100

Each stat has a tooltip, for example Connection pool: 37 of 100 (37%) and Updated 2m ago.

The tab shows only the widgets that have a valid value. When the instance has none, the widgets do not show. When you hide automatic widgets with the Widgets button in the canvas toolbar, the widgets on the Signals tab are hidden too.

Deployment results on the Signals tab​

Below the widgets, a card shows the results of the instance's latest deployment that has results, and the instance's drift and release. The Widgets button hides this card too. See Where results show.

Scorecards on the Signals tab​

Below the deployment results, a Scorecards card shows the instance's scorecards, a warning when its configuration changes are not deployed, and its delivery, reliability, and currency. The Widgets button hides this card too. See Instance scorecards.

Live updates​

The Signals tab and the Metadata card on the project overview update when a stash value changes. You do not need to reload the page.

The Deployment metadata section also updates when you open the deployment's details from the History tab on the canvas. When you open the details from the web app's dashboard or a repository page, the section loads once and does not update.