analysis.json: data quality gate, per-stage client aggregates and the capacity model. Recomputable from the raw files by servtuner analyze.
Schema file: schema/json/bundle/analysis.schema.json. Generated from servtuner commit 5b46cdad0e5c.
| Field |
Type |
Required |
Description |
analyzer_version |
string |
Yes |
|
hardware_profile_id |
string |
No |
The hardware profile the results are scoped to; matches target-snapshot hardware_profile_id. |
quality |
runQuality |
Yes |
|
stages |
array of stageAggregate |
Yes |
|
capacity |
capacityModel |
Yes |
|
Type: "good", "degraded", "unusable"
The data quality checks.
Type: "achieved_rps_low", "send_lag_high", "client_bound", "target_saturated", "target_stalled", "low_resolution", "config_drift", "knob_mismatch", "insufficient_samples", "catalog_missing", "series_gaps", "knob_unverified", "oom_restart", "burst_stage", "stream_batched"
| Field |
Type |
Required |
Description |
stage_index |
integer |
Yes |
≥ 0 |
is_valid |
boolean |
Yes |
A trustworthy stage: achieved RPS, send lag and client_bound are all within thresholds. |
is_client_bound |
boolean |
Yes |
|
is_excluded |
boolean |
Yes |
True when the stage is left out of the capacity model. |
issues |
array of qualityIssue |
No |
|
verified: the target’s captured value equals the declared one. mismatch: it differs, so the change was not applied. unverified: the value cannot be captured.
Type: "verified", "mismatch", "unverified"
| Field |
Type |
Required |
Description |
name |
string |
Yes |
|
declared |
string |
Yes |
The RunSpec value, rendered as a string. |
actual |
string |
No |
The captured value, rendered as a string; absent when unverified. |
status |
knobStatus |
Yes |
|
| Field |
Type |
Required |
Description |
catalog |
catalogName |
Yes |
|
is_collected |
boolean |
Yes |
|
| Field |
Type |
Required |
Description |
catalogs |
array of catalogCoverage |
Yes |
Every expected catalog. |
series_with_gaps_percent |
number |
Yes |
≥ 0; ≤ 100 |
| Field |
Type |
Required |
Description |
grade |
qualityGrade |
Yes |
|
is_excluded_from_comparison |
boolean |
Yes |
True when the run must not enter experiment comparisons, for example on a knob_mismatch. |
issues |
array of qualityIssue |
No |
Run-level issues, as opposed to the stage-level ones in stages. |
stages |
array of stageQuality |
Yes |
|
knobs |
array of knobCheck |
No |
|
coverage |
coverage |
No |
|
Percentiles with bootstrap confidence intervals; the value of each is in seconds.
| Field |
Type |
Required |
Description |
error_class |
string |
Yes |
|
count |
integer |
Yes |
≥ 0 |
| Field |
Type |
Required |
Description |
slo |
sloName |
Yes |
|
threshold |
number |
Yes |
The RunSpec threshold: seconds for the latency SLOs, a ratio for max_error_rate. ≥ 0 |
observed |
number |
No |
The measured value in the same unit; absent when there were too few samples. ≥ 0 |
is_met |
boolean |
Yes |
|
| Field |
Type |
Required |
Description |
stage_index |
integer |
Yes |
≥ 0 |
offered_rps |
number |
Yes |
≥ 0 |
achieved_rps |
number |
Yes |
≥ 0 |
goodput_rps |
number |
No |
Requests per second that met every SLO. ≥ 0 |
requests |
integer |
Yes |
≥ 0 |
errors |
integer |
Yes |
≥ 0 |
errors_by_class |
array of errorClassCount |
No |
|
ttft |
latencySummary |
No |
|
itl |
latencySummary |
No |
|
tpot |
latencySummary |
No |
|
e2e |
latencySummary |
No |
|
send_lag_p50_seconds |
number |
No |
≥ 0 |
send_lag_p99_seconds |
number |
No |
≥ 0 |
send_lag_max_seconds |
number |
No |
≥ 0 |
input_tokens_per_second |
number |
No |
≥ 0 |
output_tokens_per_second |
number |
No |
≥ 0 |
total_tokens_per_second |
number |
No |
≥ 0 |
slo_results |
array of sloResult |
No |
|
| Field |
Type |
Required |
Description |
rps |
number |
Yes |
≥ 0 |
is_interpolated |
boolean |
Yes |
True when rps lies between the valid stage and the failed one that brackets it; then failed_stage_index is required. failed_stage_index > valid_stage_index is a servtuner analyze self-check. |
valid_stage_index |
integer |
Yes |
Highest valid stage where every SLO holds. ≥ 0 |
failed_stage_index |
integer |
No |
The bracketing stage that failed; absent when there is none. ≥ 0 |
limiting_slo |
sloName |
No |
The SLO that failed at the bracketing stage. |
Type: "latency_slope", "queueing", "preemptions"
gpu_util is the weak fallback when DCGM profiling metrics are missing.
Type: "kv_cache", "gpu_engine_activity", "gpu_util", "cpu", "router_concurrency", "upstream_capacity"
The resource closest to its ceiling at the knee.
| Field |
Type |
Required |
Description |
resource |
bottleneckResource |
Yes |
|
utilization |
number |
Yes |
How close to its ceiling the resource was at the knee. ≥ 0; ≤ 1 |
is_weak_signal |
boolean |
Yes |
|
Where headroom disappears. The bottleneck is judged here, so there is none without a knee.
| Field |
Type |
Required |
Description |
stage_index |
integer |
Yes |
≥ 0 |
reason |
kneeReason |
Yes |
|
slope_ratio |
number |
No |
For latency_slope: how many times faster p95 latency grew than RPS; above 2 marks the knee. ≥ 0 |
bottleneck |
bottleneck |
No |
|
| Field |
Type |
Required |
Description |
ready_replicas |
integer |
Yes |
The minimum number of replicas ready during the window. ≥ 1 |
rps_per_replica |
number |
Yes |
SLO-max RPS divided by ready_replicas. ≥ 0 |
total_gpus |
integer |
No |
GPUs across the ready replicas. ≥ 1 |
rps_per_gpu |
number |
No |
SLO-max RPS divided by total_gpus. ≥ 0 |
Omitted members mean the run did not support the answer, for example no valid stage means no slo_max.