Skip to content

chart-client-timeseries schema

charts/client_timeseries.json, written by servtuner analyze for the Latency and Throughput tabs: the client’s requests bucketed by send time over the stages, with the stage bands. It is chart data, not a statistic: bucket percentiles are nearest-rank over however many requests the bucket has (samples says how many) and carry no interval; the Rule A qualified values with bootstrap intervals are analysis.json’s. Warmup requests are left out.

Schema file: schema/json/bundle/chart-client-timeseries.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 1 for runs of at most 10 minutes of stages, else 5, widened to keep at most 2000 buckets. ≥ 1
stages array of stageBand Yes
buckets array of timeBucket Yes One per bucket from start to the last stage’s end, empty ones included, so the time axis has no gaps.
Field Type Required Description
stage_index integer Yes ≥ 0
start_offset_seconds number Yes ≥ 0
end_offset_seconds number Yes ≥ 0
offered_rps number Yes ≥ 0
is_valid boolean Yes
is_excluded boolean Yes
Field Type Required Description
samples integer Yes ≥ 1
p50 number Yes ≥ 0
p95 number Yes ≥ 0
p99 number Yes ≥ 0
Field Type Required Description
offset_seconds number Yes ≥ 0
stage_index integer No The stage the bucket’s start falls in; absent between stages. ≥ 0
requests integer Yes Requests sent in the bucket. ≥ 0
errors integer Yes ≥ 0
achieved_rps number Yes ≥ 0
send_lag_p99_seconds number No ≥ 0
output_tokens_per_second number No ≥ 0
ttft_seconds bucketPercentiles No
e2e_seconds bucketPercentiles No