Skip to content

Conversation

@nicholas-piesco
Copy link
Contributor

Implements ByteBuddy-based proxy wrapper that creates OpenTelemetry spans for @tool annotated methods, capturing parameters, outputs, execution time, and exceptions. Includes comprehensive tests, runnable example, and README documentation.

Implements ByteBuddy-based proxy wrapper that creates OpenTelemetry spans for @tool annotated methods, capturing parameters, outputs, execution time, and exceptions. Includes comprehensive tests, runnable example, and README documentation.
…handling

- Fixed LangchainToolWrappingExample to set braintrust.input_json and braintrust.output_json on all spans (conversation, turn, tool)
- Added testToolWrappingIntegrationWithConversationHierarchy to verify full span hierarchy has required attributes
- Updated README with note on setting Braintrust attributes on parent spans for proper UI display
@nicholas-piesco nicholas-piesco merged commit 1436f35 into main Jan 9, 2026
1 check passed
@nicholas-piesco nicholas-piesco deleted the ft/langchain-wrap-tools branch January 9, 2026 17:12
@nicholas-piesco nicholas-piesco restored the ft/langchain-wrap-tools branch January 9, 2026 17:15
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