Skip to content

Commit 63fb644

Browse files
micheleRPclaude
andcommitted
Fix broken xrefs across the site (zero build errors)
Local build was emitting 16 xref-resolution errors across 6 pages plus one partial. None were caused by recent commits; they were stale references left over from the `cloud-docs:ai-agents` -> `redpanda-adp` component migration plus a few cross-component xrefs that lost their component prefix. Local-component fixes: - ai-agents:observability/concepts.adoc -> observability:concepts.adoc (transcripts.adoc, ingest-custom-traces.adoc, partial) - ai-agents:observability/transcripts.adoc -> observability:transcripts.adoc - ai-agents:agents/monitor-agents.adoc -> agents:monitor.adoc - governance:guardrails.adoc -> governance:guardrails/index.adoc (the page moved into a subdirectory) - integrations/index.adoc -> integrations:index.adoc (was bare; needed the same-component module prefix) - agent-trace-hierarchy / mcp-server-trace-hierarchy anchors renamed to ...-transcript-hierarchy to match the actual section headings on observability/concepts.adoc; link labels updated accordingly. Cross-component fixes (verified the targets exist): - manage:rpk/rpk-install.adoc -> redpanda-cloud:manage:rpk/rpk-install.adoc - develop:connect/components/inputs/otlp_*.adoc -> redpanda-connect:components:inputs/otlp_*.adoc Build verification: `npm run build` now reports 0 xref errors. The remaining warnings are pre-existing template-attribute placeholders (unrelated). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 1c7e221 commit 63fb644

7 files changed

Lines changed: 24 additions & 25 deletions

File tree

modules/ai-gateway/pages/admin/setup-guide.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,4 +379,4 @@ Users can then discover and connect to the gateway using the information provide
379379
== Next steps
380380

381381
* xref:routing-cel.adoc[CEL Routing Cookbook]
382-
* xref:integrations/index.adoc[Integrations]
382+
* xref:integrations:index.adoc[Integrations]

modules/ai-gateway/pages/gateway-quickstart.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,6 @@ const openai = new OpenAI({
529529

530530
* xref:routing-cel.adoc[]
531531
* xref:aggregation.adoc[]
532-
* xref:integrations/index.adoc[]
532+
* xref:integrations:index.adoc[]
533533
* xref:gateway-architecture.adoc[]
534534
* xref:overview.adoc[]

modules/governance/pages/budgets.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Some guardrail evaluators call an LLM to do their work. A toxicity classifier, f
6161

6262
Guardrail evaluator cost surfaces in the same spending pipeline as user-facing LLM calls. The evaluator's cost is attributed to the *evaluator's configured upstream provider* — usually a small classifier model, separate from the user-facing LLM — so per-provider breakdowns separate the two automatically.
6363

64-
For the per-evaluator cost model and how it interacts with the dashboard's spend view, see xref:governance:guardrails.adoc[Configure guardrails].
64+
For the per-evaluator cost model and how it interacts with the dashboard's spend view, see xref:governance:guardrails/index.adoc[Configure guardrails].
6565

6666
// TODO: confirm with eng that guardrail evaluator cost flows into the same SpendingService as user-facing LLM cost (vs. a separate stream). Open Q A3 in the companion plan, also flagged on the Guardrails plan.
6767

@@ -87,7 +87,7 @@ Cap-management arrives after GA per the Governance V0 PRD. The planned feature s
8787
* *Alert hooks* — webhook, email, or chat notifications when a cap is approached or exceeded.
8888
* *Multi-tenant cap-setting* — per-tenant caps with override semantics.
8989

90-
Until those features ship, treat the dashboard and breakdown queries as your visibility layer and use platform-level guardrails (xref:governance:guardrails.adoc[Configure guardrails]) for selective request blocking.
90+
Until those features ship, treat the dashboard and breakdown queries as your visibility layer and use platform-level guardrails (xref:governance:guardrails/index.adoc[Configure guardrails]) for selective request blocking.
9191

9292
// TODO: once the cap-management surface lands, replace this section with a forward link to the configuration how-to. If cap-management content grows beyond a single section, split this page into a sub-folder. Open Q C1 in the companion plan.
9393

modules/mcp/pages/register-remote.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ If the tools list is empty or stale, hit the *Refresh tools* action on the Overv
128128

129129
|TLS errors when registering an `https://` URL
130130
|Confirm the server's certificate chains to a public CA (or the CA Redpanda's egress trusts). Self-signed certs aren't supported.
131-
+
132131
// TODO: confirm TLS / private CA story for the standalone ADP product surface.
133132

134133
|`401 Unauthorized` from the upstream

modules/observability/pages/ingest-custom-traces.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ After reading this page, you will be able to:
1919

2020
* A Redpanda Connect pipeline host (today: a Redpanda BYOC cluster with Connect enabled). Ability to manage secrets on that host.
2121
// TODO: Replace with the standalone-ADP ingestion target once defined (may no longer require a Redpanda Cloud cluster).
22-
* The latest version of xref:manage:rpk/rpk-install.adoc[`rpk`] installed
22+
* The latest version of xref:redpanda-cloud:manage:rpk/rpk-install.adoc[`rpk`] installed
2323
* Custom agent or application instrumented with OpenTelemetry SDK
2424
* Basic understanding of the https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-agent-spans/[OpenTelemetry span format^] and https://opentelemetry.io/docs/specs/otlp/[OpenTelemetry Protocol (OTLP)^]
2525

@@ -60,11 +60,11 @@ For non-LangChain applications or custom instrumentation, continue with the sect
6060

6161
Custom agents are applications with OpenTelemetry instrumentation that operate independently of Redpanda's Remote MCP servers or declarative agents (such as LangChain, CrewAI, or manually instrumented applications).
6262

63-
When these agents send traces to `redpanda.otel_traces`, you gain unified observability alongside Remote MCP server and declarative agent traces. See xref:ai-agents:observability/concepts.adoc#cross-service-transcripts[Cross-service transcripts] for details on how traces correlate across services.
63+
When these agents send traces to `redpanda.otel_traces`, you gain unified observability alongside Remote MCP server and declarative agent traces. See xref:observability:concepts.adoc#cross-service-transcripts[Cross-service transcripts] for details on how traces correlate across services.
6464

6565
=== Trace format requirements
6666

67-
Custom agents must emit traces in OTLP format. The xref:develop:connect/components/inputs/otlp_http.adoc[`otlp_http`] input accepts both OTLP Protobuf (`application/x-protobuf`) and JSON (`application/json`) payloads. For <<use-grpc,gRPC transport>>, use the xref:develop:connect/components/inputs/otlp_grpc.adoc[`otlp_grpc`] input.
67+
Custom agents must emit traces in OTLP format. The xref:redpanda-connect:components:inputs/otlp_http.adoc[`otlp_http`] input accepts both OTLP Protobuf (`application/x-protobuf`) and JSON (`application/json`) payloads. For <<use-grpc,gRPC transport>>, use the xref:redpanda-connect:components:inputs/otlp_grpc.adoc[`otlp_grpc`] input.
6868

6969
Each trace must follow the OTLP specification with these required fields:
7070

@@ -96,7 +96,7 @@ Optional but recommended fields:
9696
- `parentSpanId` for hierarchical traces
9797
- `attributes` for contextual information
9898

99-
For complete trace structure details, see xref:ai-agents:observability/concepts.adoc#understand-the-transcript-structure[Understand the transcript structure].
99+
For complete trace structure details, see xref:observability:concepts.adoc#understand-the-transcript-structure[Understand the transcript structure].
100100

101101
== Configure the ingestion pipeline
102102

@@ -573,15 +573,15 @@ After your custom agent sends traces through the pipeline, they appear in the *T
573573

574574
==== Identify custom agent transcripts
575575

576-
Custom agent transcripts are identified by the `service.name` resource attribute, which differs from Redpanda's built-in services (`ai-agent` for declarative agents, `mcp-{server-id}` for MCP servers). See xref:ai-agents:observability/concepts.adoc#cross-service-transcripts[Cross-service transcripts] to understand how the `service.name` attribute identifies transcript sources.
576+
Custom agent transcripts are identified by the `service.name` resource attribute, which differs from Redpanda's built-in services (`ai-agent` for declarative agents, `mcp-{server-id}` for MCP servers). See xref:observability:concepts.adoc#cross-service-transcripts[Cross-service transcripts] to understand how the `service.name` attribute identifies transcript sources.
577577

578578
Your custom agent transcripts display with:
579579

580580
* **Service name** in the service filter dropdown (from your `service.name` resource attribute)
581581
* **Agent name** in span details (from the `gen_ai.agent.name` attribute)
582582
* **Operation names** like `"invoke_agent my-assistant"` indicating agent executions
583583

584-
For detailed instructions on filtering, searching, and navigating transcripts in the UI, see xref:ai-agents:observability/transcripts.adoc[View Transcripts].
584+
For detailed instructions on filtering, searching, and navigating transcripts in the UI, see xref:observability:transcripts.adoc[View Transcripts].
585585

586586
==== Token usage tracking
587587

@@ -619,7 +619,7 @@ If requests succeed but traces do not appear in `redpanda.otel_traces`:
619619

620620
== Next steps
621621

622-
* xref:ai-agents:observability/transcripts.adoc[]
623-
* xref:ai-agents:agents/monitor-agents.adoc[Observability for declarative agents]
624-
* xref:develop:connect/components/inputs/otlp_http.adoc[OTLP HTTP input reference]
625-
* xref:develop:connect/components/inputs/otlp_grpc.adoc[OTLP gRPC input reference]
622+
* xref:observability:transcripts.adoc[]
623+
* xref:agents:monitor.adoc[Observability for declarative agents]
624+
* xref:redpanda-connect:components:inputs/otlp_http.adoc[OTLP HTTP input reference]
625+
* xref:redpanda-connect:components:inputs/otlp_grpc.adoc[OTLP gRPC input reference]

modules/observability/pages/transcripts.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
Use the Transcripts view to read a complete record of an agent or MCP server execution, turn by turn. Each transcript captures the conversation between the user, the agent, any LLM calls, and any tools it invoked, along with token usage, USD cost, latency, and any errors.
1010

11-
For conceptual background on the underlying OpenTelemetry data model, see xref:ai-agents:observability/concepts.adoc[].
11+
For conceptual background on the underlying OpenTelemetry data model, see xref:observability:concepts.adoc[].
1212

1313
After reading this page, you will be able to:
1414

@@ -41,7 +41,7 @@ Each row in the list represents one execution (one trace). Columns include:
4141
* *USD cost* — total cost for the execution, derived from per-model pricing. See <<troubleshooting>> if this column shows `0`.
4242
* *Duration* — wall-clock time between the first and last span.
4343

44-
A transcript marked _reconstructed_ is one in which some turns were rebuilt from LLM message context after the original spans were evicted from `redpanda.otel_traces`. See xref:ai-agents:observability/concepts.adoc#history-reconstruction[Reconstructed transcript history] for what that means.
44+
A transcript marked _reconstructed_ is one in which some turns were rebuilt from LLM message context after the original spans were evicted from `redpanda.otel_traces`. See xref:observability:concepts.adoc#history-reconstruction[Reconstructed transcript history] for what that means.
4545

4646
// TODO: Confirm final column list on the GA Console UI. Today's labels likely shift. Verify against adp-production before merge.
4747

@@ -102,7 +102,7 @@ Turns are listed in order by role:
102102
* *ASSISTANT* — a response from the LLM. Shows the model, input/output token counts, USD cost for that turn, and latency. If the assistant turn called a tool, its tool calls are nested underneath.
103103
* *TOOL* — a tool invocation. Shows the tool name, the arguments passed, the result, and the latency of the call.
104104

105-
Any turn may carry the `is_reconstructed` marker. Reconstructed turns preserve role order and the high-level content of the conversation but do not carry per-turn token counts, latency, or tool-call arguments. See xref:ai-agents:observability/concepts.adoc#history-reconstruction[Reconstructed transcript history] for the mechanics.
105+
Any turn may carry the `is_reconstructed` marker. Reconstructed turns preserve role order and the high-level content of the conversation but do not carry per-turn token counts, latency, or tool-call arguments. See xref:observability:concepts.adoc#history-reconstruction[Reconstructed transcript history] for the mechanics.
106106

107107
=== Errors
108108

@@ -148,7 +148,7 @@ If the failure happened during a tool call, the error is attached to the TOOL tu
148148
== Limitations
149149

150150
* Large time windows sample the list to keep the UI responsive. The exact transcript you need may not be in the current page; narrow the time range or add filters.
151-
* Reconstructed turns do not carry token counts, latency, or tool-call arguments for the reconstructed range. For byte-level fidelity, lower the ingestion lag or extend `redpanda.otel_traces` retention (see xref:ai-agents:observability/concepts.adoc#opentelemetry-traces-topic[How Redpanda stores trace data]).
151+
* Reconstructed turns do not carry token counts, latency, or tool-call arguments for the reconstructed range. For byte-level fidelity, lower the ingestion lag or extend `redpanda.otel_traces` retention (see xref:observability:concepts.adoc#opentelemetry-traces-topic[How Redpanda stores trace data]).
152152
* USD cost is only populated for models covered by the pricing table.
153153
// TODO: List which providers/models are priced at GA and what users see for un-priced ones (`0`, `null`, or an explicit "unknown" marker).
154154
// TODO: If the GA Console UI ships transcript export, document the entry point and output format here; otherwise omit.
@@ -165,7 +165,7 @@ A transcript stays in `RUNNING` until the root span closes. Common causes:
165165

166166
=== USD cost shows 0
167167

168-
`TranscriptUsage.usd_cost` is populated by the cost-reporting pipeline from the `gen_ai.usage.*` attributes on each LLM-call span combined with a per-model pricing table. For the full list of cost-bearing attributes (including the explicit USD-cost fields), see xref:ai-agents:observability/concepts.adoc#key-attributes-by-layer[Key attributes by layer].
168+
`TranscriptUsage.usd_cost` is populated by the cost-reporting pipeline from the `gen_ai.usage.*` attributes on each LLM-call span combined with a per-model pricing table. For the full list of cost-bearing attributes (including the explicit USD-cost fields), see xref:observability:concepts.adoc#key-attributes-by-layer[Key attributes by layer].
169169
// TODO: Document which providers/models are priced at GA.
170170

171171
If cost is `0` for a transcript that clearly used tokens, check:

modules/observability/partials/transcripts-ui-guide.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
// Valid values: "agent" | "mcp"
2424
//
2525
// DEPENDENCIES:
26-
// - xref:ai-agents:observability/concepts.adoc#agent-trace-hierarchy[]
27-
// - xref:ai-agents:observability/concepts.adoc#mcp-server-trace-hierarchy[]
26+
// - xref:observability:concepts.adoc#agent-transcript-hierarchy[]
27+
// - xref:observability:concepts.adoc#mcp-server-transcript-hierarchy[]
2828
//
2929
// CONTENT TYPE:
3030
// UI navigation and interface explanation (procedural context for how-to pages)
@@ -66,10 +66,10 @@ The trace list shows nested operations with visual duration bars indicating how
6666

6767
// Link to appropriate concepts section based on context
6868
ifeval::["{context}" == "agent"]
69-
For details on span types, see xref:ai-agents:observability/concepts.adoc#agent-trace-hierarchy[Agent trace hierarchy].
69+
For details on span types, see xref:observability:concepts.adoc#agent-transcript-hierarchy[Agent transcript hierarchy].
7070
endif::[]
7171
ifeval::["{context}" == "mcp"]
72-
For details on span types, see xref:ai-agents:observability/concepts.adoc#mcp-server-trace-hierarchy[MCP server trace hierarchy].
72+
For details on span types, see xref:observability:concepts.adoc#mcp-server-transcript-hierarchy[MCP server transcript hierarchy].
7373
endif::[]
7474

7575
==== Summary panel
@@ -91,6 +91,6 @@ ifeval::["{context}" == "mcp"]
9191
* Service: The MCP server identifier
9292
endif::[]
9393

94-
If any turns were rebuilt from LLM message context after their original spans were evicted, the panel shows a _reconstructed_ marker on those turns. For the mechanics, see xref:ai-agents:observability/concepts.adoc#history-reconstruction[Reconstructed transcript history].
94+
If any turns were rebuilt from LLM message context after their original spans were evicted, the panel shows a _reconstructed_ marker on those turns. For the mechanics, see xref:observability:concepts.adoc#history-reconstruction[Reconstructed transcript history].
9595

9696
// TODO: Re-verify this field list against the GA Console UI on adp-production. Beta labels may shift; update wording before GA.

0 commit comments

Comments
 (0)