mirror of
https://github.com/supabase/supabase.git
synced 2026-12-04 23:49:03 +00:00
Adds SQL query conventions and examples to the logs querying guide. **`advanced-log-filtering.mdx`** - New section: correlating requests by `request_id` (from `sb-request-id` header) and `trace_id` (from W3C `traceparent`). Includes a note on cache hits — if `cf_cache_status` is `HIT`, no downstream logs exist for that request. - New section: following a user's activity across services via `auth_logs` + `request_id` fan-out, and investigating Edge Function invocations using `execution_id` to join `function_edge_logs` and `function_logs`. **`log-field-reference.mdx`** - `traceparent` added to the captured request headers list. - Capture limits note: `request_id`, `trace_id`, and `span_id` may appear on any source but are not populated on every event. ## Review Pages to check in preview: - `/docs/guides/observability/advanced-log-filtering` - `/docs/guides/observability/log-field-reference` ## Checklist - [x] I have read [CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md) - [x] If I wrote a new docs topic or edited an existing topic, I used the `/write-the-docs` or `/edit-the-docs` skill, which references [WORD_LIST](https://github.com/supabase/supabase/blob/master/apps/docs/WORD_LIST.md) and the docs [CONTRIBUTING](https://github.com/supabase/supabase/blob/master/apps/docs/CONTRIBUTING.md) guide --------- Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>