Skip to content

docs: update tracing#979

Merged
necatiozmen merged 6 commits into
mainfrom
update-observability-docs
Jan 23, 2026
Merged

docs: update tracing#979
necatiozmen merged 6 commits into
mainfrom
update-observability-docs

Conversation

@necatiozmen

@necatiozmen necatiozmen commented Jan 22, 2026

Copy link
Copy Markdown
Member

PR Checklist

Please check if your PR fulfills the following requirements:

Bugs / Features

What is the current behavior?

What is the new behavior?

fixes (issue)

Notes for reviewers


Summary by cubic

Updated Tracing docs with new views (Waterfall, Node-Based, Logs, Feedback) and User Analytics, a streamlined overview with filter guidance, and cleaned navigation. Improves trace debugging and user impact analysis.

  • New Features

    • Added Trace views (Waterfall, Node-Based, Logs, Feedback) with videos for root-cause, timing, flow, and signal review.
    • Added User Analytics with metrics, feedback trends, and conversation grouping to trace issues by user.
  • Refactors

    • Rewrote Overview with concise “why” and filter examples; added filter GIF.
    • Removed Concept page.
    • Updated sidebar to include Overview, Views, and Users.

Written for commit 2178fae. Summary will update on new commits.

Summary by CodeRabbit

  • Documentation
    • Expanded tracing documentation with new guides for user analytics, trace visualization views (Waterfall and Node-Based), logs analysis, and feedback mechanisms.
    • Reorganized tracing documentation to focus on practical trace filtering and analysis workflows.
    • Added comprehensive guidance on analyzing user-impacting traces and end-to-end flows.

✏️ Tip: You can customize this high-level summary in your review settings.

@changeset-bot

changeset-bot Bot commented Jan 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 2178fae

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ghost

This comment has been minimized.

@coderabbitai

coderabbitai Bot commented Jan 22, 2026

Copy link
Copy Markdown
Contributor

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

📝 Walkthrough

Walkthrough

The pull request restructures observability tracing documentation by removing concept.md, revising overview.md, and adding five new tracing documentation pages (waterfall, node-based, logs, feedback, users). A new React MediaPanel component is introduced. Navigation is updated in the sidebar. A new blog post on Agent Middleware is added.

Changes

Cohort / File(s) Summary
Tracing Documentation Removal & Restructuring
website/observability/tracing/concept.md, website/observability/tracing/overview.md
Deleted concept.md (107 lines). Refocused overview.md from broad multi-section introduction to a user-request tracing narrative with trace filtering guidance; replaced detailed benefits with concrete filter attributes.
New Tracing Feature Documentation
website/observability/tracing/waterfall.md, website/observability/tracing/node-based.md, website/observability/tracing/logs.md, website/observability/tracing/feedback.md, website/observability/tracing/users.md
Added five new documentation pages describing distinct tracing views and analytics: waterfall view (span hierarchy visualization), node-based view (alternative visualization), logs (structured event inspection), feedback (human judgment association), and user analytics (user-centric metrics and grouping). Each includes embedded video/media and guidance.
Navigation Update
website/sidebarsObservability.ts
Updated tracing category navigation to replace [\"tracing/overview\", \"tracing/concept\"] with [\"tracing/overview\", \"tracing/waterfall\", \"tracing/node-based\", \"tracing/logs\", \"tracing/feedback\", \"tracing/users\"].
Blog Content
website/blog/2026-01-20-agent-middleware/index.md
New blog post documenting Agent Middleware, covering execution flows, input/output middleware operations, retry behavior, and usage examples.
Media Component
website/src/components/docs-widgets/MediaPanel.tsx
New React functional component that renders a styled image container with gradient background, border, and shadow. Accepts src, alt, and optional width props.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~15 minutes

Poem

🐰 The tracing docs have been reborn,
New paths for users to explore each morn,
Waterfall views and logs so bright,
MediaPanel frames each image right,
Concept cleared, the way now clear! 🌟

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Description check ⚠️ Warning PR description is incomplete; critical sections lack detail and contain placeholder text. Fill in 'What is the current behavior?' and 'What is the new behavior?' sections; replace 'fixes (issue)' with actual issue number; check off applicable checkboxes (Docs); consider adding related issue link and changeset.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title is concise and clearly relates to the main changeset focus (tracing documentation updates), though it is quite generic and doesn't specify the key improvements.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 issue found across 5 files

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="website/observability/tracing/overview.md">

<violation number="1" location="website/observability/tracing/overview.md:34">
P2: Close the admonition with an unindented `:::` so the tip block is properly terminated.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread website/observability/tracing/overview.md Outdated

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Fix all issues with AI agents
In `@website/observability/tracing/overview.md`:
- Around line 28-34: The closing admonition marker is indented which can prevent
the tip block from terminating; locate the tip block that starts with ":::tip"
and move the closing " :::" marker to the very start of its own line (no leading
spaces) so the admonition closes correctly, ensuring the tip content lines
remain indented but the final "::: " is unindented.

In `@website/observability/tracing/users.md`:
- Around line 18-44: The document has heading level jumps (e.g., "Key Metrics",
"User Feedback", and "Conversations" are "###") that should increment by one
from the previous heading to satisfy linting; update these headings ("Key
Metrics", "User Feedback", "Conversations") to the correct level (e.g., change
"###" to "##" or to whatever level follows the preceding heading) so the outline
increments properly and heading nesting is consistent.
- Around line 22-50: Replace the raw HTML <img> tags (the elements whose src
include "tracing-charts.gif" and "tracing-feedback.gif") with proper Markdown
image syntax or a referenced image link to satisfy MD034, and update each alt
attribute to a descriptive, accessible string (e.g., "Tracing charts showing
filters and metrics over time" and "User feedback sentiment and score clusters
over time") so the images convey their content; keep the existing conversation
image (the ![conversation] entry) but also improve its alt text to something
like "Conversation view showing session cards and filtered traces" for
consistency.

In `@website/observability/tracing/views.md`:
- Around line 54-57: Update the <img> element showing the feedback GIF to avoid
the MD034 raw URL lint warning and make the alt text specific to the Feedback
panel: either convert the HTML <img> into Markdown image syntax using the given
src URL or add a per-line rule suppression for MD034, and change the alt
attribute value to something descriptive like "Feedback panel trace filters GIF"
(edit the
src="https://cdn.voltagent.dev/docs/observability/tracing/feedback.gif" <img>
element and its alt attribute).
🧹 Nitpick comments (1)
website/observability/tracing/overview.md (1)

22-22: Prefer a relative doc link for portability.

Absolute links can break in local previews or alternate base URLs; a relative path keeps navigation consistent.

🔧 Suggested change
-When you select a trace from the list, you can open its [detailed views](https://voltagent.dev/observability-docs/tracing/views/).
+When you select a trace from the list, you can open its [detailed views](./views).

Comment thread website/observability/tracing/overview.md Outdated
Comment thread website/observability/tracing/users.md Outdated
Comment thread website/observability/tracing/users.md
Comment thread website/observability/tracing/views.md Outdated
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jan 22, 2026

Copy link
Copy Markdown

Deploying voltagent with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2178fae
Status: ✅  Deploy successful!
Preview URL: https://e8407eed.voltagent.pages.dev
Branch Preview URL: https://update-observability-docs.voltagent.pages.dev

View logs

omeraplak and others added 3 commits January 22, 2026 19:35
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Fix all issues with AI agents
In `@website/blog/2026-01-20-agent-middleware/index.md`:
- Line 97: Replace the bare URL on the line "Read the full docs and API details
here: https://voltagent.dev/docs/agents/middleware" with a proper Markdown link
by wrapping the URL in link syntax (for example: "Read the full docs and API
details here: [Voltagent Agents Middleware
Docs](https://voltagent.dev/docs/agents/middleware)") to satisfy MD034; edit the
paragraph text in the blog post to use that link.
- Line 20: Update the sentence that reads "Agent middleware is a pre and post
processing layer..." to use the hyphenated compound modifier form "pre- and
post-processing" so it reads "Agent middleware is a pre- and post-processing
layer that runs before guardrails and hooks on each agent call." This fixes the
grammar in the paragraph describing Agent middleware.
- Line 49: Update the phrase "Block unsafe or out of policy replies" to
hyphenate the compound adjective—change it to "Block unsafe or out-of-policy
replies" wherever that exact heading/string appears (e.g., the line containing
"Block unsafe or out of policy replies") to follow correct grammar for compound
adjectives.

Comment thread website/blog/2026-01-20-agent-middleware/index.md Outdated
Comment thread website/blog/2026-01-20-agent-middleware/index.md Outdated
Comment thread website/blog/2026-01-20-agent-middleware/index.md Outdated
@necatiozmen
necatiozmen merged commit 0e56556 into main Jan 23, 2026
23 checks passed
@coderabbitai coderabbitai Bot mentioned this pull request Feb 17, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants