Telemetry
Interactive SaaS SQL Lab

Reliability · Advanced

Measure job recovery by customer plan

Which failed jobs recovered on retry, and which accounts still need intervention?

Collapse attempt-level worker events into one logical job before comparing recovery and unresolved failures by plan.

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.

ReliabilityAdvanced

Measure job recovery by customer plan

Which failed jobs recovered on retry, and which accounts still need intervention?

Collapse attempt-level worker events into one logical job before comparing recovery and unresolved failures by plan.

The dataset and query remain in this browser.

Published expected result

Unresolved logical jobs by plan

planlogical_jobsjobs_with_failurerecovered_jobsunresolved_jobs
starter2202
growth2110
business1000
free1000

How to read the query

  • Attempts are grouped by logical job identifier before failure and recovery are counted.
  • A job may have both a failed attempt and a completed retry, which is recovery rather than permanent failure.
  • Joining after the reduction prevents a retried job from multiplying account-level counts.

Decisions the SQL cannot make

  1. 1Define terminal job statuses and the maximum expected retry delay.
  2. 2Distinguish automatic retry recovery from manual replay.
  3. 3Alert on unresolved work and age, not every transient failed attempt.

Continue from this lesson