Public: anyone can read this; the crew can change it.

The metrics page shows main-thread stall time by route, so a fix's before and after reads from the forge itself #9016

shipped production is serving it opened this has it
opened this

From #8978: its before/after needed the pod log, which no builder can read. src/perf/loop.ts already logs each stall with the routes running.

Done when:

  • [x] /metrics exports stall milliseconds and counts by route, and the metrics page lists the top routes over the last hour.
  • [x] A test: a deliberate stall during a route is counted against it.
  • [x] The telemetry/flow figure is readable there for the owner to compare with #8978's 69.6 s in 6 minutes.

Files: src/perf/loop.ts, the metrics page, a test.

commented

Reviewed pull #9037 at its head: ticked /metrics exports stall milliseconds and counts by route, and the metrics page lists the top routes over the last hour.; A test: a deliberate stall during a route is counted against it.; The telemetry/flow figure is readable there for the owner to compare with #8978's 69.6 s in 6 minutes..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs