Web UI

Analytics

What each figure, chart and table on the Analytics screen counts.

The Analytics screen rolls up where the time and the money went across your work items. This page says what each figure, chart and table counts. Open it from Analytics in the sidebar.

What the screen counts

  • The items. Every figure covers the work items created in the chosen range (8 weeks by default), narrowed by the filters. An item created earlier is left out, even if it merged yesterday. Only Completed, Lead time, Waiting on you and the two figures under the stops are limited to completed items.
  • Their history. For each of those items, the screen adds up all its worker sessions and events, whenever they happened.
  • A sliced item counts once. An item built in slices is one item here; its slices' sessions and events add to the item's cost, tokens, repairs, merges, stops and time waiting. Lead time stays the item's own, so Waiting on you can count slices that waited at the same time and stops at 100%.
  • No stored totals. Kraft computes the figures from the database each time you open the screen or change a filter.

Filters

All three apply to every panel and reset when you leave the screen.

MenuNarrows to
Range ▾: 7 days, 30 days, 8 weeks (default) or 90 daysThe items created in that long before now
Repo ▾The items filed in one repo
Chain ▾The items on one chain. An item that never chose one counts as default; one filed with a one-off chain counts under one-off Added in 2.5

Overview

FigureWhat it countsThe line under it
CompletedItems whose status is completed+N vs previous: the change from the range before
Lead timeThe median, over completed items, from the chain's first node starting to completion. A wait after the merge, such as post_merge_ci, counts; a wait behind a dependency doesn'tmedian
Waiting on youThe time completed items spent stopped on you, as a share of their lead timeof lead time
CostThe cost recorded for every worker session of every item in the set, completed or not$X per completed item, or nothing completed yet
Repairs per itemThe repair rounds below, over items that needed at least oneN hit their cap, or none hit their cap

Time waiting on you runs from a gate being requested, or an item stopping to wait for you, until the gate is approved or rejected, the item is retried or a node starts. It is kept apart from run time, so a slow reviewer doesn't read as a slow agent.

Repairs and caps

  • Repairs per item counts the distinct repair rounds that ran a worker session in the items' fix-loop nodes, over the items with at least one. A repair round is round 1 or higher. A node's first pass (round 0) is no repair.
  • N hit their cap counts the items with a fix-loop session that ended at its attempt limit. A wait that ran out and a time cap don't count.

A trailing plus

A trailing + ($1.16+) marks a sum that is missing a session: one with tokens and no dollar figure, because the harness reports no cost and its model isn't in Kraft's price table, or a resumed session's tokens couldn't be separated from the earlier session's. The true total is higher. Cost reporting says which harnesses report no cost.

Kraft's own estimate from the price table is added when the model is listed, unmarked: for a session still running (a floor, since it leaves out output tokens) and for a finished one whose agent reported no cost.

Throughput by week

A bar chart of merged items per week: eight columns, oldest first, whatever the range. The label under a bar is the Monday that starts the week, in UTC. The dashed bar is the current week, and partial.

A merge is a node finishing that runs a forge task with the target mr.merge, such as the shipped merge node. A completed item whose chain has no such node, such as quick-task, completes without showing up. When nothing merged, the chart reads No merge requests merged in this range.

Waiting at each gate

Added in 2.1

One row per gate that stopped an item on a person, longest total wait first.

ColumnWhat it shows
share of waitThe gate's total wait against the longest
waits, median, totalHow many times an item stopped there, and the median and sum of those waits
rejectedHow many times the gate was rejected, by you or by Kraft's own review

A stop that is no gate, such as a failure that needs you, is left out here, though it counts in Waiting on you.

By node

One row per node that ran a worker session, highest cost first.

ColumnWhat it shows
share of cost, %The node's cost against the costliest node, and as a share of all rows
minThe mean wall time of one worker session on the node, in whole minutes; <1 min under a minute
tokensEvery token its sessions used: uncached input, cache writes, cache reads and output
$The cost of its sessions; a trailing + marks a missing session

By repo

One row per repo, the one with the most items first: items created in the range in any status, done (completed), cost and avg repairs, the Overview figure for that repo alone.

Why items stopped for a person

One bar per reason, most common first. A count is a number of stops, not of items: an item that stops three times adds three. For what each stop means and its fix, see Troubleshooting.

LabelA stop where
gate · <name>A gate named <name> was requested
budgetA spend cap stopped the item
cap breachA fix loop reached its attempt cap
orchestrator/infra defectThe reason starts resume: current-node session did not resolve cleanly
preventable dispatchThe reason starts needs_context: and contains blocked on, not merged or depends on
task failureAny other stop that waits on you

Under the bars, two figures cover completed items only:

  • N unplanned touches per item: the stops nobody designed the chain to need, divided by the completed items. A gate · ... stop never counts. budget, orchestrator/infra defect and preventable dispatch always do. cap breach and task failure do unless Kraft cleared the stop without paging you: an automatic escalation retry, or a gate its own review decided.
  • open MR → checks done X median: the median time from the node that opens the draft merge request starting to the node that waits on CI completing, found by their forge tasks (mr.open_draft, mr.ci) and not their IDs. — when no item has both.

How this is counted

Added in 2.1

Each repo in By repo, each gate in Waiting at each gate and the gate · …, budget and cap breach reasons open the board filtered to it, keeping the repo and chain set here. The board shows items as they are now, so a gate nobody waits at today opens an empty board.

The other reasons open it for the repo and chain only. The closed How this is counted line at the bottom has the notes for the whole screen.

On a phone

Analytics is a tab in the bottom bar, with the same figures as tiles and lists, no weekly chart, and Range, Repo and Chain as buttons under the title. See The board on a phone. When nothing has completed in the range and no node ran, the figures give way to Nothing has completed in this range yet.

  • The board: the screen that groups the same work items by what they need from you.
  • Cost reporting: which harnesses report no cost, how Kraft estimates one, and what a dollar cap does about it.
  • Caps and budgets: how a spend cap and a fix loop's attempt cap stop an item.
Copyright © 2026