Workers - Write structured queries to filter and search your Workers logs and traces
Key Points
- Structured queries in search bar
- Query Builder syncs with typed queries
- Autocomplete plus operators and functions
Summary
Workers Observability adds a structured query language directly in the search bar so engineers can filter and search logs and traces with both free-text and field-level queries. Typed queries are kept in sync with the Query Builder sidebar for visual editing; the search bar also provides autocomplete and a help panel with full syntax and shortcuts.
Key Points
- Free-text search across all metadata (e.g.,
erroror"exact phrase"). - Field queries with comparison examples:
status = 500,$workers.wallTimeMs > 100. - Supported operators:
=,!=,>,>=,<,<=,:(contains). - Functions:
contains(field, value),startsWith(field, prefix),regex(field, pattern),exists(field). - Boolean logic supported:
AND,OR,NOT. - Autocomplete suggestions for metadata fields and operators while typing.
- Queries sync with the Query Builder: type a query or build filters visually and switch between them.
- Open the help icon next to the search bar for the full syntax reference and shortcuts.
- Try it in the Workers Observability dashboard ↗.