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:
- Save it in the workspace that owns the decision.
- Rename it with the outcome, scope, and unit where useful.
- Keep volume beside rates and percentiles.
- 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:
- The workspace and membership match the intended audience.
- The title describes the result and units.
- The SQL uses documented fields and counting rules.
- A representative fixture or known interval has been checked.
- Sensitive raw identifiers are omitted from broad dashboards.
- Material changes are compared with the preceding history entry.
- Every alert has an owner, evaluation window, and response action.
Continue with Creating Dashboards, Alerts, or Teams, Workspaces, and Members.