Skip to content

Docs/java ai agent observability - #2941

Open
StefanHenke wants to merge 3 commits into
mainfrom
docs/java-ai-gen-ai-spans
Open

StefanHenke wants to merge 3 commits into
mainfrom
docs/java-ai-gen-ai-spans

Conversation

@StefanHenke

Copy link
Copy Markdown
Contributor

No description provided.

- 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.
@hyperspace-pr-bot

Copy link
Copy Markdown
Contributor

👋 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

  • Summarize your pull request changes
  • Review code for quality, correctness, and reliability
  • Suggest fixes when a pipeline job fails

Key commands

Command Description
/review [--all] Trigger a code review. Add --all to include files excluded by excluded_paths.
/summarize Generate a PR summary
/ask <question> Ask about the current changes
/help See all available commands

*This introduction message will be shown to you only once, you will not see it in future PRs.

@hyperspace-pr-bot

Copy link
Copy Markdown
Contributor

Control Panel

Hi, I'm an AI-powered Review Bot that helps you with summarizing and reviewing pull requests.
To interact with me, just use the following actions:

  • 📝 Summarize PR
  • 🔍 Review
  • 🗑️ Delete all bot comments and reviews

This branch has not been deployed

No deployments
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.

1 participant