Telemetry
Browse docs
GuidesUpdated July 29, 2026Reviewed by the Telemetry editorial and product teams3 min read

Use this doc with your coding agent

Open a focused prompt pack for Claude Code, Codex, Cursor, or another coding agent, then adapt it to the workflow covered here.

On this page
  1. Choose a workspace
  2. Save and name a query
  3. Understand query history
  4. Use favorites as a personal shortcut
  5. Promote stable results
  6. Collaboration checklist

Saved Queries, History, Favorites, and Collaboration

A saved query turns an investigation into a reusable team artifact. Telemetry organizes queries inside team workspaces, preserves query history, and lets each person favorite the queries they return to most often.

Saving SQL does not make the metric correct. Review the event grain, filters, denominator, units, and time boundaries before other people or automated workflows depend on it.

Choose a workspace

Use workspaces to group related analysis by service, product area, operating workflow, or team. Workspaces can be nested, which lets a broad area contain more focused collections without forcing every query into one flat list.

Keep the structure shallow enough to scan. A practical arrangement might be:

reliability
  api
  background-jobs
product
  activation
  retention
ai
  model-cost
  agent-quality

Workspace membership controls who sees the workspace. Team membership alone should not be treated as proof that every private workspace is visible to every teammate; review membership when a query contains restricted identifiers or operational detail.

Save and name a query

Start in a draft, run the query against a representative time range, and inspect the result. When it is ready to keep:

  1. Save it in the workspace that owns the decision.
  2. Rename it with the outcome, scope, and unit where useful.
  3. Keep volume beside rates and percentiles.
  4. Add the result to a dashboard only after the saved version is reviewed.

Prefer API error rate by route — production over query 14 or incident query. A name should help someone find and interpret the query without opening every result.

Understand query history

Saving changes creates query history. Use the history entries to review how SQL evolved and to recover the previous logic when an edit changes the result unexpectedly.

Before materially changing a shared query:

  • note the old and new metric definitions;
  • compare both versions over the same fixed window;
  • identify dashboards, alerts, or reports that use the query;
  • preserve the previous version until consumers have reviewed the change;
  • update explanatory dashboard text when the meaning changes.

History is not a substitute for a broader audit trail or code review process when a query powers regulated reporting, access decisions, or exact financial reconciliation.

Use favorites as a personal shortcut

Favorites are per-person navigation aids. Favoriting a query does not change its workspace, permissions, SQL, or status for other team members. Use favorites for active incident views, weekly reviews, or recurring product questions without duplicating the shared query.

Promote stable results

A saved query can become:

  • a dashboard chart or result table;
  • an alert with an explicit threshold and owner;
  • a repeatable export;
  • a starting point for a deeper investigation.

Keep the saved query as the inspectable analytical definition. Put response instructions and ownership next to the dashboard or alert so the artifact remains understandable during a handoff.

Collaboration checklist

Before sharing a saved query broadly, confirm:

  1. The workspace and membership match the intended audience.
  2. The title describes the result and units.
  3. The SQL uses documented fields and counting rules.
  4. A representative fixture or known interval has been checked.
  5. Sensitive raw identifiers are omitted from broad dashboards.
  6. Material changes are compared with the preceding history entry.
  7. Every alert has an owner, evaluation window, and response action.

Continue with Creating Dashboards, Alerts, or Teams, Workspaces, and Members.

Related product capability

Capture stable event names, typed fields, and privacy-reviewed context.

Ownership and technical references

The Telemetry editorial team owns this explanation; the product team reviews behavior, examples, and boundaries.

Review the editorial standard