Skip to content

Reorganize Agent Observability docs into task-based sections - #39258

Open
gsvigruha wants to merge 18 commits into
masterfrom
gergely.svigruha/refactor-agent-obs-doc
Open

Reorganize Agent Observability docs into task-based sections#39258
gsvigruha wants to merge 18 commits into
masterfrom
gergely.svigruha/refactor-agent-obs-doc

Conversation

@gsvigruha

@gsvigruha gsvigruha commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

What does this PR do? What is the motivation?

Reorganizes the Agent Observability documentation into task-based sections. Existing pages are moved rather than rewritten; the new prose is limited to three section landing pages, a few link fixes, and title alignment.

New structure:

  • quickstart/ (with terms/ nested under it)
  • build_with_ai/ — MCP server and Claude Code skills pages
  • instrument/ — former instrumentation/, plus agent_observability_and_apm and prompt_tracking
  • investigate/ — querying, cost, metrics, patterns, annotation queues, export API
  • improve/ — playground, datasets, and experiments/
  • configure/evaluations/, prompt management, automation rules
  • guide/ — gains proxy services, agent monitoring, MCP client, and an AWS Lambda guide

Moves and redirects:

  • 57 pages moved with git mv, so file history is preserved.
  • An alias was added to every moved page, plus 11 cross-prefix aliases so pre-existing alias paths that inbound links were rewritten against still resolve. No duplicate or shadowed aliases anywhere in content/en.
  • 337 link references updated across 59 files, including 6 pages outside Agent Observability.
  • The English side navigation was rewritten to match the new hierarchy: 50 entries, all URLs resolving to real files, no duplicate identifiers or labels.

Side navigation template:

layouts/partials/nav/left-nav.html renders four levels below a product and hides level-4 lists unless the parent identifier is allowlisted. Moving Evaluations and Experiments one level deeper pushed their children into that gated level, so their submenus disappeared. Two scoped changes fix it:

  • Added llm_obs_evaluations, llm_obs_experiments, and llm_obs_instrumentation_agentic to the level-4 allowlist.
  • Limited the site-wide "hide any submenu named Guides" rule with (ne .Identifier "llm_obs_guide"), so only Agent Observability's guides expand. No other product defines guide children, so nothing changes for them.

Because the template stops at four levels, the children of llm_as_a_judge_evaluations and external_evaluations are not in the nav. They are linked from their section index pages instead.

Navigation and reachability:

  • Added nav entries for instrument/agentic and its language pages, and for the seven guides.
  • Added subpage link lists to instrument/agentic/_index.md and configure/evaluations/external_evaluations/_index.md. The existing references on the agentic page use .md URLs intended for coding agents, which left the HTML pages without a clickable path.
  • Removed the Sensitive Data Scanner nav entry, which had no page behind it. Its URL still redirects through an alias.
  • Under instrument/, the slug, nav label, and page title now line up on every page.

New pages:

  • improve/_index.md, configure/_index.md, and build_with_ai/_index.md are section landing pages with an overview line and links to their subsections. build_with_ai/_index.md also has a Get started section presenting the Datadog MCP server and the Pup CLI as alternative backends for the skills; every command in it is taken from an existing page.
  • guide/trace-an-llm-application-in-aws-lambda.md holds the AWS Lambda setup block, moved verbatim out of instrument/sdk.md, which now links to it. This replaces a dead anchor link on the guides index.

Other fixes:

  • Retitled the investigate section index from Monitoring to Investigate, and the data privacy page to Data Privacy, Security, and RBAC to match its filename.
  • Repointed two pre-existing links that pointed at nonexistent targets: an evaluation_types page and a quickstart#trace-an-llm-application anchor.

Known follow-ups, deliberately left out of this PR:

  • Renaming the llm_observability URL segment to agent_observability. Doable with aliases, but it changes the public URL of an entire product and also requires updating the unsupported_sites key in config/_default/params.yaml, which is looked up by path segment, plus data/products.yaml and the data/partials/home*.yaml files. Planned as a separate PR.
  • Images under static/images/llm_observability/ keep their old subdirectory names, because translated pages reference the same paths.
  • Translated content (49 files across fr, es, ja, ko) and the translated side navigations still use the old paths. Those pages keep building at their old URLs, but moved English pages have no localized counterpart until the translation pipeline catches up.
  • Four pages moving into guide/ now inherit the algolia cascade in guide/_index.md (Guide category, rank 20), and claude_code_skills no longer does.
  • multi-modality, agent_observability_and_logs, and insights pages do not exist yet.

Merge readiness

  • Ready for merge

For Datadog employees:

  • ⚠️ Your branch name MUST follow the <name>/<description> convention and include the forward slash (/). If you've already created your PR with an incorrect branch name, please rename your branch and open a fresh PR.
  • 🤖 New: Comment with /review to run an automated check that catches common issues before a Documentation team member reviews your PR.

AI assistance

Claude Code performed the moves, alias and link updates, and navigation rewrite from an approved mapping, and drafted the new section landing pages.

Additional notes

Redirects were validated statically (every internal llm_observability reference resolves to a real page or alias, apart from .md URLs that are intentionally aimed at coding agents) rather than against a local Hugo build. Worth running htmltest before merge.

Move llm_observability pages into instrument/, investigate/, improve/,
and configure/ sections, add redirects for every moved page, and update
the English side navigation to match. Page content is unchanged apart
from link paths.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@gsvigruha
gsvigruha requested a review from a team as a code owner August 18, 2026 00:31
@github-actions github-actions Bot added Architecture Everything related to the Doc backend Guide Content impacting a guide labels Aug 18, 2026
gsvigruha and others added 4 commits August 17, 2026 20:34
Rename the investigate section index title from Monitoring to
Investigate, remove the Sensitive Data Scanner nav entry that has no
page behind it, and repoint two pre-existing links that pointed at
nonexistent targets.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Surface instrument/agentic and its Python, Node.js, Java, and prompt
management pages in the side navigation. They were previously reachable
only by direct URL.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The agentic prompt management page is reached from the agentic
instrumentation guide, and its nav label duplicated the Prompt
Management row under Configure.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The existing references to these pages use .md URLs intended for coding
agents, which leaves the HTML pages without a clickable path. Add a
whatsnext list covering all four subpages.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Preview links (active after the build_preview check completes)

New or renamed files

Renamed files

Modified Files

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ Possible site support note detected

The following files have a site-region shortcode at the top of the page that mentions a feature being "not available" or "not supported":

  • hugo/content/en/mcp_server/setup.md

Are you trying to document site support for a product? If so, the site-region shortcode is not the recommended approach. See the Documenting site support guide for the preferred method.

gsvigruha and others added 8 commits August 17, 2026 20:52
Replace the placeholder with an overview line and links to the
evaluations, prompt management, and automation rules subsections.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Replace the placeholder with an overview line and links to the
playground, datasets, and experiments subsections.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Rename the section directory, nav label, and identifier, then replace
the placeholder with an overview line, a Get started code block, and
links to the two subpages.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Inline the Homebrew install and authentication commands, and link to the
Pup CLI documentation for the remaining installation methods.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Split the Get started section into a shared skills install and an
either/or backend choice, and reword the intro.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The Build with AI landing page links both subpages, so the nav row is
redundant. Align the data privacy page title and nav label with its
filename.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The left nav template renders four levels and hides level-4 lists unless
the parent identifier is allowlisted, which hid the evaluations and
experiments children after they moved a level deeper. Allowlist the new
parents, let the Agent Observability guides list expand, and add nav
entries for the seven guides.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@gsvigruha
gsvigruha requested a review from a team as a code owner August 18, 2026 02:16
gsvigruha and others added 5 commits August 17, 2026 22:18
Remove the eight nav entries that sat at level 5, which the left nav
template cannot render, and link the external evaluations subpages from
their index instead. Keep the Evaluation Developer Guide row under Guides
only.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Also rename the external evaluations heading to frameworks.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Architecture Everything related to the Doc backend Guide Content impacting a guide

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant