Telemetry
Telemetry SQL Cookbook

Run structured-event SQL in your browser

Choose a reproducible database-reliability fixture, edit its query, and inspect the real result without an account. DuckDB runs locally in WebAssembly; the fixture and SQL stay in this browser.

Reviewed by the Telemetry product team on . Read-only query guardrails, synthetic fixtures, browser execution, and database reliability definitions. Editorial ownership

21 deterministic fixtures with typed event contracts.
One SELECT or WITH statement; writes, extensions, and external file reads are rejected.
Synthetic examples only. Never paste credentials, customer data, or raw query parameters into a shared browser.

36 synthetic input rows in database_transaction_events. Timestamps shift into the current query window when the fixture loads.

Results are capped at 500 rows. The included fixtures are synthetic and intentionally small.

No fixture or query is sent to Telemetry.

Published expected result

Query output and visualization

Query result

Transaction rollback rate by service

Checkout has both the highest rollback rate and the largest affected-account count.

servicedatabase_nametransactionsrollbacksrollback_rate_pctaffected_accountsaverage_duration_ms
checkout-apiapp_production123253290
billing-workerbilling_production1218.331275
catalog-apicatalog_production12000107.5

Synthetic example output. Run the query against your own event schema and thresholds before using it for operational decisions.

What this playground proves—and what it does not

The browser runner proves that the selected read-only query executes against its included rows and produces the displayed result. The browser downloads the versioned DuckDB runtime from jsDelivr only after you run a query; the SQL and fixture are not sent with that request. Telemetry recipes are separately planned with Apache DataFusion, the engine used by Telemetry. DuckDB and DataFusion are distinct SQL engines, so validate any edited syntax with the DataFusion SQL reference before using it in production.