Skip to main content

Sample live backlog telemetry for a process path

GET 

/paths/:pathId/telemetry

Returns the current backlog depth/WIP read model for a process path's work pool — the SampleBacklog use case. This is a projection built from live WorkPool state, not persisted aggregate state. Side effect: if the pool is over its alarm threshold, publishes BacklogThresholdBreached (an existing, documented telemetry side effect of sampling — it does not mutate the WorkPool or WorkUnit aggregates themselves, so this remains a safe GET).

When the optional cutoffAt query parameter is supplied, this same read additionally reports — and publishes — the path's current remaining admission capacity for that CPT cutoff window (PathCapacityChanged, see ADR-0018). remainingCapacityKnown is false for a FlowFed path (no hard admission ceiling) or a ReleaseFed path with no WIP limit provisioned; remainingCapacityUnits is present only when remainingCapacityKnown is true. Omitting cutoffAt entirely skips capacity reporting and publishing, keeping every existing caller's behavior unchanged.

Request​

Responses​

Current backlog snapshot.