Skip to content

chart-inflight schema

charts/inflight.json, written by servtuner analyze for the Queueing tab: L(t), the client’s requests in flight, sampled each second over the stages from the request records (each request from sent_at for its E2E), and bucketed to at most 2000 points that keep each bucket’s minimum and maximum; plus Little’s law per stage. Warmup requests are left out.

Schema file: schema/json/bundle/chart-inflight.schema.json. Generated from servtuner commit 5b46cdad0e5c.

Field Type Required Description
analyzer_version string Yes
start utcTimestamp Yes The first stage’s start; every offset is from here.
bucket_seconds integer Yes Seconds per point: 1, widened to keep at most 2000 points. ≥ 1
stages array of littleCheck Yes
points array of inFlightPoint Yes
Field Type Required Description
offset_seconds number Yes ≥ 0
mean number Yes ≥ 0
min number Yes ≥ 0
max number Yes ≥ 0

Little’s law L = λ × W for one stage: the mean in flight against arrival rate × mean E2E. A large error means the stage was not in steady state.

Field Type Required Description
stage_index integer Yes ≥ 0
start_offset_seconds number Yes ≥ 0
end_offset_seconds number Yes ≥ 0
arrival_rps number Yes ≥ 0
mean_e2e_seconds number No ≥ 0
mean_in_flight number No ≥ 0
little_error number No |mean in flight − λ × mean E2E| ÷ (λ × mean E2E). ≥ 0