Telemetry
Telemetry SQL Cookbook

Run structured-event SQL in your browser

Choose a reproducible structured-event 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

29 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.

8 synthetic input rows in rag_evaluation_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

RAG retrieval and grounding outcomes

Version two improves both reviewed rates in the synthetic evaluation set while costing slightly more.

pipeline_versiontest_casesretrieval_relevance_pctgrounded_answer_pctavg_retrieval_latency_msevaluation_cost_usd
rag-v247575950.05
rag-v1450501200.04

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.