Telemetry
Interactive SaaS SQL Lab

Foundations · Intermediate

Audit release coverage before comparing regressions

Do product and API events cover the same releases well enough for a regression comparison?

Build a shared release spine before calculating rates so missing instrumentation remains null instead of looking like perfect reliability.

Reviewed by the Telemetry product team on . Read-only SQL, connected-table grain, deterministic result, visualization, and interpretation boundaries. Review standards and ownership

Runs against one versioned 15-table dataset

Edit and execute the query locally in your browser, then download the same synthetic schema and rows for DuckDB.

FoundationsIntermediate

Audit release coverage before comparing regressions

Do product and API events cover the same releases well enough for a regression comparison?

Build a shared release spine before calculating rates so missing instrumentation remains null instead of looking like perfect reliability.

The dataset and query remain in this browser.

Published expected result

API request coverage by release

releaseproduct_eventssuccessful_product_eventsapi_requestsapi_errorsapi_error_pct
2026.07.1131200
2026.07.28810660

How to read the query

  • The release spine includes versions present in either source instead of starting from whichever table happens to have rows.
  • A release with no API requests keeps a null error rate, preventing absent coverage from appearing as zero-percent errors.
  • Product event counts and API request counts expose whether the populations are comparable before a regression claim is made.

Decisions the SQL cannot make

  1. 1Define which services and clients share a meaningful release identifier.
  2. 2Require minimum coverage and complete observation windows before comparing rates.
  3. 3Investigate instrumentation changes separately from product regressions.

Continue from this lesson