Skip to content

[Agents] Document AI SDK tracing - #32216

Open
mattzcarey wants to merge 8 commits into
productionfrom
docs/agents-ai-tracing
Open

[Agents] Document AI SDK tracing#32216
mattzcarey wants to merge 8 commits into
productionfrom
docs/agents-ai-tracing

Conversation

@mattzcarey

Copy link
Copy Markdown
Contributor

Summary

Documents Cloudflare-native AI tracing introduced by cloudflare/agents#1860. Adds AI SDK v6 and v7 setup, Think's automatic instrumentation and tracing off switch, payload privacy controls, API discoverability, and an Agents changelog entry.

Screenshots (optional)

Documentation checklist

@github-actions github-actions Bot added product:changelog product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. size/m labels Jul 21, 2026
@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/assets/images/ @cloudflare/pm-changelogs, @cloudflare/product-owners
/src/content/changelog/ @cloudflare/pm-changelogs, @cloudflare/product-owners, @hoan-pom
/src/content/docs/agents/ @irvinebroque, @rita3ko, @elithrar, @cloudflare/product-owners, @cloudflare/ai-agents, @cloudflare/dev-plat-leads

@github-actions

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

@mattzcarey
mattzcarey force-pushed the docs/agents-ai-tracing branch 2 times, most recently from e991c78 to 50dd7db Compare July 27, 2026 08:52
@github-actions

Copy link
Copy Markdown
Contributor

This PR changes current filenames or deletes current files. Make sure you have redirects set up to cover the following paths:

  • /agents/runtime/operations/observability/

@nevikashah
nevikashah force-pushed the docs/agents-ai-tracing branch from 02035ed to 6797ec3 Compare July 27, 2026 21:54
@mattzcarey
mattzcarey marked this pull request as ready for review July 29, 2026 09:31
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Review

⚠️ 1 warning found in commit 72f6216.

👉 Fix in your agent 👈
Fix the following review findings in PR #32216 (https://github.com/cloudflare/cloudflare-docs/pull/32216).

Before making changes, review each finding and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g. the fix requires disproportionate effort for minimal benefit,
  or the finding is factually incorrect), explain why
- If you need clarification before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order

After triaging, follow this order:
1. Post a comment on this PR for any findings you are skipping, with the finding ID and your reasoning.
2. Then commit the fixes for the legitimate findings.

The comment must come before the commit — the bot reads PR comments when a new
push triggers a review, so skip comments posted after the push will be missed.

---

## Conventions

### Warnings (1)

#### CV-a0f9a8c5ce0a · Scope accuracy
- **File:** PR-level finding
- **Issue:** The PR restructures the Agents observability section: it renames an existing page (src/content/docs/agents/runtime/operations/observability.mdx) to observability/diagnostics-channels.mdx and adds an observability/index.mdx, but the description only discusses adding AI SDK tracing docs, Think instrumentation, payload privacy controls, API discoverability, and a changelog entry without mentioning the page move/section restructure.
- **Fix:** Update the PR description to mention the observability page rename/restructure so reviewers understand the full scope, and add any required redirects.

Code Review

This code review is in beta and may not always be helpful — use your judgment.

No code review issues found.

Conventions

Warnings (1)
File Issue
PR Scope accuracy — The PR restructures the Agents observability section: it renames an existing page (src/content/docs/agents/runtime/operations/observability.mdx) to observability/diagnostics-channels.mdx and adds an observability/index.mdx, but the description only discusses adding AI SDK tracing docs, Think instrumentation, payload privacy controls, API discoverability, and a changelog entry without mentioning the page move/section restructure. Fix: Update the PR description to mention the observability page rename/restructure so reviewers understand the full scope, and add any required redirects.

Style Guide Review

No style-guide issues found.

Commands

Only codeowners can run commands. Post a comment with the command to trigger it.

Command Description
/review Runs a review now. Incremental if a prior review exists, full if not.
/full-review Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist.
/ignore-review-limit Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal.
/disable-auto-review Stops automatic reviews from triggering on future pushes to this PR. Codeowners can still run /review or /full-review manually.
/rebase Rebases the PR branch against production. On conflict, attempts to resolve automatically using AI. Stops with an explanation if confidence is not high enough.

mattzcarey and others added 5 commits July 29, 2026 10:31
- Split observability.mdx into observability/tracing.mdx and
  observability/diagnostics-channels.mdx under a group index
- Add dashboard screenshots and View traces section
- Separate Think, Flue, AI SDK v7, AI SDK v6 framework setup
- Add pricing, exporting traces, and what's next sections
- Remove changelog entry
- Update cross-references in think, recovery, agents-api, changelog
@mattzcarey
mattzcarey force-pushed the docs/agents-ai-tracing branch from 623e155 to f6a581f Compare July 29, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. product:changelog size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants