Capacity by version
Shows every version of an APM service in one table: when the version reached production, its p95, error rate and traffic in its first minutes and over its whole life, and what the capacity tests run on it measured. When something got worse between two consecutive versions the step is marked red, e.g. 1.8.3 → 1.8.4: measured limit 900 → 610 RPS (-32%), production p95 +18%.
Before you start
- The service must report its version in OpenTelemetry as the
service.versionresource attribute, e.g.OTEL_RESOURCE_ATTRIBUTES=service.version=1.8.4. For a service that reports no version the tab stays empty and says what to do. - For the capacity column, run a test that puts load on that service: a breakpoint test measures the limit, a normal load test the load carried.
Opening the tab
- Open APM → Services and click the service.
- Switch to the Versions tab.
- Pick Last 7 days, Last 30 days or Last 90 days at the top right.
The newest version is on top. First 30 min is production right after the version came; this is where you see a deploy's first effect. Overall is the version's whole life. Measured capacity gives the newest limit and load run on the version, the test's name and how the run was linked to the version; click it to open the run.
How a run is linked to a version
A run is linked to a version in this order:
- by trace: the version the service reported in the run's trace samples.
- by CI version: the version the CI started the run with,
--version-tagor a tag pipeline (when the service reported that version). It counts only when the test really sends requests to the service's endpoints. - by window: the version that served at least 80% of the service's traffic during the run.
When none applies the run stays out of the table; an empty cell is better than a run on the wrong version.
The worse mark
Each step compares a version with the one before it:
- Under load: when both versions have a run of the same test. A measured limit or RPS carried that drops by more than 10%, a load run's p95 that rises by more than 10% or an error rate that rises by at least half a point is worse. Two breakpoint runs are preferred when there are.
- Production: the new version's first 30 minutes against the previous version's last 30 minutes. Without at least 100 requests in both windows production is not judged.
The links next to a step open the two runs, Compare runs puts them side by side and Compare versions opens the service page's Regressions card over that version's life with the Previous version baseline.
Checking in CI
The same comparison can fail a pipeline job (exit code 95): spitfire cloud run --version-check under load, spitfire cloud version-check for production after a deploy. Steps: CI/CD integration.