Skip to content

feat: Add instrumentation guide#10

Draft
Luca Forstner (lforst) wants to merge 4 commits intomainfrom
lforst/instrumentation-guide
Draft

feat: Add instrumentation guide#10
Luca Forstner (lforst) wants to merge 4 commits intomainfrom
lforst/instrumentation-guide

Conversation

@lforst
Copy link
Copy Markdown
Member

Bit random but just a simple guide summarizing what SDK instrumentation should do and collect.

Luca Forstner (lforst) and others added 2 commits April 10, 2026 10:40
…stinction

- Add span data model section grounded in actual backend schema
- Clearly separate completion API and agentic API instrumentation
- Use `tool` span type for agentic tool executions
- Inline span attributes reference
- Add TODO section for embedding and multimodal APIs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comment thread docs/instrumentation-guide.md Outdated

## Span Attributes Reference

Braintrust-specific OTel span attributes used by the SDK instrumentation:
Copy link
Copy Markdown
Member

@AbhiPrasad Abhijeet Prasad (AbhiPrasad) Apr 10, 2026

Choose a reason for hiding this comment

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

there are more here that the otel based sdks use, like java/ruby/go. I'd just the agent to point at the java or go sdk and get these.

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