Skip to content

docs(examples): move the kagent example to v1.x - #290

Merged
krisztianfekete merged 1 commit into
mainfrom
docs/kagent-v1-example
Nov 23, 2026
Merged

krisztianfekete merged 1 commit into
mainfrom
docs/kagent-v1-example

Conversation

@krisztianfekete

Copy link
Copy Markdown
Member

The Kubernetes example now targets kagent v1.x only.

On v1.x the Claude harness writes chat and execute_tool spans itself, with full tool arguments (including the Agent tool's subagent_type). Subagent calls appear under the call that started them. The transform/claude_code Collector recipe only served kagent before v1.0.0-alpha12, so it is removed.

Changes:

  • otel-collector.yaml: remove transform/claude_code. filter/kagent_taskstore now matches kagent.runtime.v1.TaskStoreService, the name kagent uses since v1.0.0. The old pattern matched nothing on v1.x, so long turns could lose their invoke_agent span.
  • agents.yaml: two Agents on the kagent-default and claude-default Harnesses that kagent install creates. The image digest lookup is gone.
  • README: kagent telemetry is set with config.telemetry and config.runtimeDefaults.telemetry (the otel.* chart values are gone in v1.x). Install uses kagent install --provider Anthropic. The pre v1.x section is removed.
  • Root README FAQ and docs/opentelemetry-pipeline.md: drop links to the recipe, which pointed at a missing anchor.

Breaking for anyone using the example:

  • kagent before v1.x is no longer covered.
  • agents.yaml no longer defines Harnesses and needs the default ones from kagent install.
  • The Helm flags in the setup step changed.

Tested with kagent v1.0.1, Collector contrib 0.162.0 and agentevals 0.15.1.

Closes #288. Supersedes #289.

@krisztianfekete
krisztianfekete merged commit 3bffcea into main Nov 23, 2026
9 checks passed
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.

Claude Code recipe: put subagent_type into gen_ai.tool.call.arguments

1 participant