Skip to content

fix(instrumentation-py): repair Arize, AutoGen, and AWS Bedrock OTel 2.x spans - #375

Merged
fran3cc merged 1 commit into
respanai:mainfrom
Nightingalelyy:fix/otel2-py-arize-autogen-bedrock
Aug 21, 2026
Merged

fix(instrumentation-py): repair Arize, AutoGen, and AWS Bedrock OTel 2.x spans#375
fran3cc merged 1 commit into
respanai:mainfrom
Nightingalelyy:fix/otel2-py-arize-autogen-bedrock

Conversation

@Nightingalelyy

@Nightingalelyy Nightingalelyy commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Summary

  • export backend-visible Arize operation status so deterministic SDK failures remain failed 500 spans with their input, output, and error
  • remove duplicate/noisy AutoGen runtime spans while preserving connected agent, chat, and tool trees; retain current ToolSchema definitions, calls, complete tool-result history, and direct-agent Response output
  • preserve AWS Bedrock ClientError HTTP status and current camelCase inputSchema, including complete properties and required fields
  • add focused regressions and patch release intents for all three packages

Validation

  • respan-instrumentation-arize: 9/9 tests

  • respan-instrumentation-autogen: 18/18 tests

  • respan-instrumentation-aws-bedrock: 7/7 tests

  • final wheels built and clean-installed together; imports resolved from site-packages

  • release-intent validation and changed-package coverage passed

  • all 12 corresponding locally linked examples completed with RESPAN_EXAMPLE_RUN_ID=otel2-fix-py-group-09-20260815T212000Z

  • MCP inspected all 12 trace trees and all 152 full records: counts, hierarchy, parents, content, types, model/provider, exact usage, tool identity/history, and intentional 404/500 failures passed

  • Full source and paired-example diffs were audited against every applicable document under contribution/; canonical span fields, OTel attribute shapes, release-intent/version ownership, and package boundaries have no remaining package-owned violation.

External follow-ups

  • AWS Bedrock emits the contribution-approved canonical llm.request.functions and completion tool-call content with the complete schema and call. Platform full detail still projects top-level tools=[] and tool_calls=[]; this PR intentionally does not add prohibited alias attributes as a package workaround.
  • The corresponding example-project changes were used for live validation and are not included in this Respan repository PR.

Companion examples

@Nightingalelyy Nightingalelyy changed the title fix(instrumentations): repair arize, autogen, and aws-bedrock spans fix(instrumentation): repair Arize, AutoGen, and AWS Bedrock OTel 2.x spans Aug 17, 2026
@Nightingalelyy Nightingalelyy changed the title fix(instrumentation): repair Arize, AutoGen, and AWS Bedrock OTel 2.x spans fix(instrumentation-py): repair Arize, AutoGen, and AWS Bedrock OTel 2.x spans Aug 18, 2026
@Nightingalelyy
Nightingalelyy marked this pull request as ready for review August 19, 2026 07:01

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@fran3cc
fran3cc merged commit 9b2b8bc into respanai:main Aug 21, 2026
6 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.

2 participants