Read the results
Read the bundle from the first run in the order servtuner does: can you trust it, what did it measure, and what follows from it?
Prerequisites
Section titled “Prerequisites”- The
quickstart-runbundle. jq, or any JSON viewer.
-
Check the grade and its reasons.
Terminal window jq '.quality.grade, [.quality.issues[].code]' quickstart-run/analysis.jsonOutput "degraded"["catalog_missing"] -
Check that each stage is valid, and compare offered with achieved load.
Terminal window jq -c '.quality.stages[] | {stage_index, is_valid, is_excluded}' quickstart-run/analysis.jsonjq -c '.stages[] | {offered_rps, achieved_rps}' quickstart-run/analysis.json -
Read the capacity answer.
Terminal window jq '.capacity.slo_max' quickstart-run/analysis.jsonOutput from one run {"is_interpolated": false,"rps": 19.983333333333334,"valid_stage_index": 2}No stage failed an SLO, so this is a lower bound. The target was never pushed past its limit. Extend the ladder to find the limit.
-
Read a percentile with its confidence interval.
Terminal window jq '.stages[2].ttft.p95_seconds' quickstart-run/analysis.json -
Read the recommendations and what each one rests on.
Terminal window jq '.recommendations' quickstart-run/recommendations.json
A percentile with too few requests has an insufficient_samples_reason and no value. p99 needs 1,000 requests in a stage, so the first two stages here have none.
Verify
Section titled “Verify”Recompute the analysis from the raw files:
./servtuner analyze quickstart-runok: wrote analysis.json (quality degraded, 3 stage(s))Next steps
Section titled “Next steps”- Write your own RunSpec.
- Learn why a stage is trusted or excluded.
- See the same results as charts in inspect runs.