Telemetry
Interactive SaaS SQL Lab

Reliability · Advanced

Quantify declared incident impact

How many accounts and operations were affected by each declared incident?

Reduce service events to an account-and-incident grain before adding incident severity and account revenue context.

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

Quantify declared incident impact

How many accounts and operations were affected by each declared incident?

Reduce service events to an account-and-incident grain before adding incident severity and account revenue context.

The dataset and query remain in this browser.

Published expected result

Failed operations by declared incident

incident_idseverityaffected_accountsimpacted_operationsfailed_operationsrepresented_mrr_usd
inc_checkout_latencysev_26180645,898
inc_worker_retriessev_2575455,898

How to read the query

  • The CTE prevents many service events from multiplying account revenue when the dimensions are joined.
  • Affected account count and failed operations distinguish breadth from repeated impact.
  • Represented revenue is communication context, not a severity formula or a contractual damages calculation.

Decisions the SQL cannot make

  1. 1Define the impact rule that associates an operation with a declared incident.
  2. 2Keep free, low-revenue, and internal accounts visible even when prioritizing outreach.
  3. 3Reconcile the event-derived list with support cases and status-page communications.

Continue from this lesson