Repository navigation
Description
Roadmap priority
4
Goal
Provide a dedicated cross-entity search experience for telemetry data so developers can find relevant information quickly without repeatedly navigating between Errors, Events, Sessions, and Releases.
Search must stay scoped to the current project / workspace.
Examples
Free text
checkout production email Safari v1.4.0 TypeError
Tokens that do not match a structured filter are treated as free-text terms and matched against entity fields (message, name, identity, release id, etc.).
Structured filters
environment:production
browser:safari
release:v1.4.0
country:SI
device:mobile
error:TypeError
For MVP, structured filters are simple key:value pairs only. Advanced operators (AND, OR, NOT, parentheses, comparisons) are out of scope.
A single query may combine free-text terms and structured filters (e.g. checkout environment:production release:v1.4.0).
Current state
- Page-local search already exists on some views (e.g. Sessions search from Sessions page: filters, search, and geo/device context ingest #192).
- Existing filters can scope individual pages by project, environment, release, platform, and date range (Dashboard: Overview release (and polish platform) scope filters #448, Dashboard: Events and Errors list Release column #450).
- A Labs command palette (
DashboardCommandPalette) exists for navigation shortcuts — that is not telemetry search and is out of scope for this issue. - There is currently no unified search across Errors, Events, Sessions, Releases, and Users.
Search should cover
| Entity | Typical match targets (MVP) |
|---|---|
| Errors | Message, fingerprint / type, release, environment, platform |
| Events | Event name, properties text where cheap, release, environment |
| Sessions | Session id, user / anonymous id, country, device / browser / OS, release |
| Releases | Release identifier (arbitrary string; no semver assumptions) |
| Users | Identified user_id and anonymous ids observed in sessions / events |
AI-generated summaries and semantic / embedding search are intentionally deferred to future AI roadmap items.
Deliverables
Search UI
- Add a dedicated Global Search page or primary dashboard search surface
- Support free-text search
- Support structured
key:valuefilters (see Supported filters) - Preserve existing project / workspace scope
- Keyboard-friendly result navigation (arrow keys + Enter to open)
Search results
Results must be grouped by entity type. Example:
checkout
Errors
- TypeError: Checkout failed
- Failed to load payment provider
Events
- checkout_started
- checkout_completed
Sessions
- Session #12345
- Session #67890
Releases
- v1.4.0
- v1.4.1
Users
- user_123
- anonymous_456
For MVP, each group returns a limited number of top matches (document the limit in the PR, e.g. 5–10 per group). Exhaustive search across all rows is out of scope.
Empty groups may be omitted or shown collapsed with “No matches”.
Supported filters
Initial MVP may support filters such as:
| Key | Maps to |
|---|---|
environment |
Environment scope |
release |
Release identifier (use release:__unknown__ for missing release if that convention exists from #453) |
browser |
Session / device browser |
country |
Session country |
device |
Device class / platform hint (define mapping in PR) |
platform |
Platform scope |
error |
Error message / type substring |
user |
User or anonymous id |
from / to or range |
Date range (align with existing list time-range params where possible) |
Unrecognized keys should be ignored or treated as free text — pick one behavior and document it; do not fail the whole query silently without UX feedback.
Additional filters may be added later without breaking the query string / API shape.
Navigation
- Deep-link each result to the appropriate existing dashboard page
- Preserve shared scope parameters (project, environment, platform, release, range) via existing URL helpers where possible
- Support “view all matching …” actions that open filtered Errors / Events / Sessions / Releases lists when applicable
UX & quality
- Loading, empty, and error states
- Clear empty-query vs no-results messaging
- API + dashboard tests for filter parsing, scoped queries, grouped results, and link helpers
Technical notes
- Reuse existing list filters, scope helpers, and query parsers where possible.
- Prefer one API endpoint (e.g.
GET /api/search?q=…) that returns grouped sections; ranking may improve later without changing the response contract. - Releases are arbitrary application-defined strings — no semver parsing.
- Results must remain scoped to the selected project (and membership / RBAC rules).
- If Releases Health (Dashboard: Releases Health page — adoption and regression across versions #453) is not yet shipped, search may still return release identifiers from telemetry and link to filtered list views; linking to
/dashboard/releasesis optional until that page exists. - Do not conflate this feature with the Labs command palette.
Related
- Sessions page: filters, search, and geo/device context ingest #192 — Sessions search (done)
- Dashboard: Overview release (and polish platform) scope filters #448 — Overview release / platform scope filters (done)
- Dashboard: Events and Errors list Release column #450 — Release columns on Events and Errors lists (done)
- Dashboard: Releases Health page — adoption and regression across versions #453 — Releases Health page (related deep links; may land in parallel)
Out of scope
- AI-generated summaries
- Semantic or embedding-based search
- Command palette / Cmd+Ctrl+K navigation (existing Labs feature; separate from telemetry search)
- Advanced query operators (
AND,OR,NOT, parentheses, ranges beyond simple date params) - Saved searches
- Search history and autocomplete suggestions
- Dedicated full-text indexing infrastructure beyond what MVP SQL / existing indexes can support
- Cross-project search outside the current workspace selection
Base branch
develop
Suggested acceptance checks
- Free-text search returns grouped results across supported entities (within per-group limits).
- Structured
key:valuefilters are parsed and applied correctly; free text + filters can be combined. - Results stay within the current project / workspace scope.
- Deep links open the correct existing dashboard views with scope preserved where applicable.
- Releases are treated as arbitrary identifiers (no semver assumptions).
- Empty query and no-result cases show appropriate empty states.
- Unrecognized filter keys behave as documented (ignored or free text) without breaking the query.
- Tests cover filter parsing, grouped response shape, and navigation helpers.
Activity
[-]Search: unified find across errors, events, sessions, releases[/-][+]Dashboard: Global Search across errors, events, sessions, releases, and users[/+]Merge pull request #571 from Telemetry-Tracker/feature/494-global-search
Merge pull request #572 from Telemetry-Tracker/release/v1.16.1
Release prep v1.16.1: CHANGELOG + API_VERSION for Global Search (Tele…