fix(instrumentation-py): repair Agno, Aleph Alpha, and Anthropic OTel 2.x spans - #373
Merged
fran3cc merged 2 commits intoAug 21, 2026
Merged
Conversation
Nightingalelyy
marked this pull request as ready for review
August 19, 2026 07:00
Contributor
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
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.
Summary
evaluateandexplainas non-generative task spans without fabricated model usage, while retaining structured results and chat tool-call outputWhy.
The OTel compatibility audit found that these packages split logical workflows, misclassified Aleph Alpha analytical operations, and flattened real Anthropic provider failures to generic 500 records.
Root cause.
Validation
focused tests: Agno 14 passed / 1 opt-in skipped; Aleph Alpha 7 passed; Anthropic 15 passed
all three wheels built, installed together in a clean Python 3.11 environment, and imported from the wheel artifacts
all 15 corresponding examples passed against locally linked packages under marker
otel2-fix-py-group-08-20260815T201000ZRespan MCP exact-marker audit: 15/15 trace trees and 51/51 full records inspected; exact span counts, connected hierarchy, workflow grouping, content, usage, tools, and expected 404 status passed
release inventory, release-intent, missing-intent, and
git diff --checkvalidation passedContribution re-audit against every current document under
contribution/passed after77f1b68: Aleph Alpha text completion uses canonicalchatrequest type; Anthropic automatic span-kind and deprecated tool aliases are absent; definitions/calls and tool execution I/O use canonical JSON.Fresh correction validation: Agno 14 passed / 1 skipped, Aleph Alpha 7 passed, Anthropic 15 passed; corrected-package wheels, release inventory/intents, formatting/import, and diff checks passed; marker
otel2-pr-contract-corrections-20260818T133300Zproduced 2 representative traces / 6 full records for Aleph Alpha and Anthropic, all inspected.External follow-ups
Companion examples