Repository navigation
docs(examples): move the kagent example to v1.x - #290
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Kubernetes example now targets kagent v1.x only.
On v1.x the Claude harness writes
chatandexecute_toolspans itself, with full tool arguments (including theAgenttool'ssubagent_type). Subagent calls appear under the call that started them. Thetransform/claude_codeCollector recipe only served kagent before v1.0.0-alpha12, so it is removed.Changes:
otel-collector.yaml: removetransform/claude_code.filter/kagent_taskstorenow matcheskagent.runtime.v1.TaskStoreService, the name kagent uses since v1.0.0. The old pattern matched nothing on v1.x, so long turns could lose theirinvoke_agentspan.agents.yaml: two Agents on thekagent-defaultandclaude-defaultHarnesses thatkagent installcreates. The image digest lookup is gone.config.telemetryandconfig.runtimeDefaults.telemetry(theotel.*chart values are gone in v1.x). Install useskagent install --provider Anthropic. The pre v1.x section is removed.docs/opentelemetry-pipeline.md: drop links to the recipe, which pointed at a missing anchor.Breaking for anyone using the example:
agents.yamlno longer defines Harnesses and needs the default ones fromkagent install.Tested with kagent v1.0.1, Collector contrib 0.162.0 and agentevals 0.15.1.
Closes #288. Supersedes #289.