Repository navigation
Docs/java ai agent observability - #2941
StefanHenke wants to merge 8 commits into
Conversation
- java/ai.md: new 'Tracing Agents' section describing the invoke_agent / chat / execute_tool span hierarchy (incl. the inbound A2A span), the gen_ai.* span attributes, and how to enable them. - java/operating-applications/observability.md: add the Agent, ChatModel, ToolExecution and McpServer span loggers to the CAP Instrumentation table.
Reword the intro, fold the span-enabling note under the hierarchy diagram, and keep the sensitive-data note at the end.
The spans are standard OpenTelemetry spans created via GlobalOpenTelemetry; they don't require the OTel Java Agent specifically. Point to CAP Instrumentation for infrastructure setup instead.
|
👋 Hi — I'm PR Bot, your SAP code review assistant. I'll automatically review your pull requests for code quality, security, and SAP compliance. Get an overview of what I do → What I do
Key commands
*This introduction message will be shown to you only once, you will not see it in future PRs. |
Control PanelHi, I'm an AI-powered Review Bot that helps you with summarizing and reviewing pull requests.
|
Co-authored-by: Marc Becker <marc.becker@sap.com>
Co-authored-by: Marc Becker <marc.becker@sap.com>
Co-authored-by: René Jeglinsky <rene.jeglinsky@sap.com>
| | --------------- | -------------------------------------------------------------------------------------------------------------------------------------- | | ||
| | `invoke_agent` | `gen_ai.operation.name`, `gen_ai.agent.name`, `gen_ai.conversation.id`, `cds.ai.service.method`, `cds.ai.agent.outcome` | | ||
| | `chat` | `gen_ai.operation.name`, `gen_ai.provider.name`, `gen_ai.request.model`, `gen_ai.request.temperature`, `gen_ai.request.top_p`, `gen_ai.request.max_tokens`, `gen_ai.response.model`, `gen_ai.response.id`, `gen_ai.response.finish_reasons`, `gen_ai.usage.input_tokens`, `gen_ai.usage.output_tokens` | | ||
| | `execute_tool` | `gen_ai.operation.name`, `gen_ai.tool.call.name`, `gen_ai.tool.call.id`, `gen_ai.tool.call.outcome`, `gen_ai.tool.call.arguments`<sup>*</sup>, `gen_ai.tool.call.result`<sup>*</sup> | |
There was a problem hiding this comment.
The build error stems from here.
The two * characters inside <sup>*</sup> tags were being paired by markdown-it as emphasis delimiters (content → <em>). This created invalid HTML nesting — <em> opened inside the first <sup> and closed inside the second <sup>, with </sup> appearing in between. Vue's template compiler choked on this as "Element is missing end tag.
Solution: Use 1 instead of *
No description provided.