Repository navigation
docs(telemetry): rename section and restructure as Monitoring and Debugging - #48243
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
5 Skipped Deployments
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughThe telemetry documentation is renamed to “Monitoring and Debugging,” reorganized into debugging, monitoring, and AI sections, and expanded with MCP-based AI-agent guidance. Navigation and content-listing registries expose the new structure. ChangesMonitoring and debugging documentation
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant AI Agent
participant Supabase MCP
participant Documentation
AI Agent->>Supabase MCP: Query service logs with get_logs
Supabase MCP-->>AI Agent: Return bounded log results
AI Agent->>Documentation: Search symptom-specific troubleshooting guide
Documentation-->>AI Agent: Return debugging workflow and fixes
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/docs/content/guides/telemetry/ai-agents.mdx`:
- Around line 20-33: Update apps/docs/content/guides/telemetry/ai-agents.mdx
lines 20-33 and the referenced line 41 to use query_logs for hosted logs, scope
get_logs to local/self-hosted projects, and direct hosted raw-SQL needs through
query_logs rather than execute_sql. Update
apps/docs/content/guides/telemetry/debugging.mdx lines 9-14 and 85-96 to clearly
distinguish hosted query_logs usage from local/self-hosted get_logs usage.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: ce92f7b3-53b9-421e-acbf-2fd8ac0b4752
📒 Files selected for processing (7)
apps/docs/components/Navigation/NavigationMenu/NavigationMenu.constants.tsapps/docs/content/guides/telemetry.mdxapps/docs/content/guides/telemetry/ai-agents.mdxapps/docs/content/guides/telemetry/debugging.mdxapps/docs/content/guides/telemetry/logs.mdxapps/docs/data/content-listings/index.tsapps/docs/data/content-listings/telemetry.data.ts
|
@smeubank great work! Leaving some comments altogether in here so you can start addressing them as you prefer...
Telemetry page content listing in this PR
Content listings in other pages
|
There was a problem hiding this comment.
Is it me or this table is quite unreadable
yes :D so the debugging page is rather a lot, and it is exactly how it was. We can do this clean up as part of this PR or break it off into a debugging page clean up
There was a problem hiding this comment.
I mean, the goal of the PR is to improve all these pages, I think that's quite on point with the scope. If you feel it will be too much work, let's do it in a separate task as we don't tank this too much in time.
There was a problem hiding this comment.
do you have a specific idea in mind? you are also welcome to commit changes to the branch
| 4. Fetch the troubleshooting guide for the specific symptom (append `.md` to the docs URL, or use `search_docs`). | ||
| 5. Apply the fix, then verify by re-running the failing operation. | ||
|
|
||
| The skill routes to the [symptom-to-layer table](/docs/guides/telemetry/debugging#find-the-guide-for-your-symptom) rather than embedding cause-and-fix content. This means the agent uses current documentation and the skill stays stable as the docs evolve. |
|
Found 2 test failures on Blacksmith runners: Failures
|
…overview Renames the section title from "Telemetry" to "Monitoring and Debugging" in nav constants. Replaces the 14-line placeholder overview with a proper entry point: signal-type table, debugging quickstart, log querying intro, log drains, AI agent / MCP callout, and automated monitoring note. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
- telemetry.mdx: adds "Start here" decision tree, docs-first architecture note in the AI agents section, and expanded chaos-o11y mention - debugging.mdx: adds MCP tip admonition at the top; adds "For AI agents" section at the bottom describing the get_logs-first workflow - logs.mdx: adds debugging guide back-link at the top; adds advanced-log- filtering cross-link at the end of best practices Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Overview is now a clean navigation page — three ContentListing panels (Debugging / Monitoring / AI & automation) with no how-to content. Detail pages carry the explanatory content; the overview routes to them. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
addressing some feedback
Co-authored-by: Jeremias Menichelli <[email protected]>
Co-authored-by: Jeremias Menichelli <[email protected]>
…s split this committ assume we will have merged or should be merged to gether with cahnges on skills and MCP - supabase/agent-skills#112 - supabase/mcp#333 query_logs (hosted only, ClickHouse SQL) is now the preferred tool for production projects; get_logs remains the only option for local and self-hosted. Updates the MCP tools table, log-querying section, and skill step 3 in ai-agents.mdx, and the tip admonition in debugging.mdx. logs.mdx already had this right at line 321.
this will free up the rest of the PR to be merged already
70f909c to
33d4796
Compare
Braintrust eval report
|




![Fix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/fix-with-codesmith-light.png)
Summary
telemetry.mdx) as a clean navigation page usingContentListings— three panels (Debugging / Monitoring / AI & automation) with no how-to prosetelemetry.data.tscontent-listings data file with three groups registered inindex.tsdebugging.mdx) — request-stack model, symptom-to-layer router with troubleshooting links for every service, logging guidancedebugging.mdx,logs.mdx, andadvanced-log-filtering.mdxai-agents.mdx) — MCP tools table,get_logsusage, debugging skill workflowMotivation
supabasedebugging skill, which routes agents to this section as its source of truthTest plan
/docs/guides/telemetry— three ContentListings panels render, no prose how-to text/docs/guides/telemetry.md(markdown) — clean link list, navigable by LLMs/docs/guides/telemetry/debugging— renders correctly, symptom table links resolve/docs/guides/telemetry/ai-agents— new page renders correctlySummary by CodeRabbit
Summary
New Features
Documentation
Navigation