Skip to content

Conversation

Lothiraldan
Copy link
Contributor

Details

  • Add track_claude_code and track_claude_code_with_options functions
  • Create spans for every message type (AssistantMessage, SystemMessage, UserMessage, ResultMessage)
  • Convert all Claude Code dataclass messages to dictionaries for proper serialization
  • Use @track decorator for parent span with generations_aggregator for structured output
  • Add comprehensive unit tests with fake_backend
  • Add integration examples and documentation
  • Support async generator-based Claude Code SDK query() function

Change checklist

  • User facing
  • Documentation update

Issues

Testing

Documentation

- Add track_claude_code and track_claude_code_with_options functions
- Create spans for every message type (AssistantMessage, SystemMessage, UserMessage, ResultMessage)
- Convert all Claude Code dataclass messages to dictionaries for proper serialization
- Use @track decorator for parent span with generations_aggregator for structured output
- Add comprehensive unit tests with fake_backend
- Add integration examples and documentation
- Support async generator-based Claude Code SDK query() function
Copy link
Contributor

github-actions bot commented Sep 3, 2025

🌿 Preview your docs: https://opik-preview-9fd9d00f-33ce-4db7-a305-2a5d0d59b1a4.docs.buildwithfern.com/docs/opik

The following broken links where found:

Page: https://opik-preview-9fd9d00f-33ce-4db7-a305-2a5d0d59b1a4.docs.buildwithfern.com/docs/opik/cookbook/smolagents
❌ Broken link: https://www.comet.com/docs/opik/tracing/opentelemetry/overview (404)

Page: https://opik-preview-9fd9d00f-33ce-4db7-a305-2a5d0d59b1a4.docs.buildwithfern.com/docs/opik/tracing/integrations/byteplus
❌ Broken link: https://status.byteplus.com/ (0)

Page: https://opik-preview-9fd9d00f-33ce-4db7-a305-2a5d0d59b1a4.docs.buildwithfern.com/docs/opik/tracing/integrations/flowise
❌ Broken link: https://via.placeholder.com/600x400?text=Flowise+Configuration+Menu (0)

Page:
❌ Broken link: { ()

Page:
❌ Broken link: "config": { ()

Page:
❌ Broken link: "method": "HEAD ()

Page:
❌ Broken link: "url": "https://opentelemetry.io/docs/languages/ ()

Page:
❌ Broken link: "headers": { ()

Page:
❌ Broken link: "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML ( like Gecko) Chrome/79.0.3945.117 Safari/537.36)

Page:
❌ Broken link: } ()

Page:
❌ Broken link: "responseType": "stream ()

Page:
❌ Broken link: "timeout": null ()

Page:
❌ Broken link: } ()

Page:
❌ Broken link: "error": { ()

Page:
❌ Broken link: "message": "request to https://opentelemetry.io/docs/languages/ failed ( reason: read ECONNRESET)

Page:
❌ Broken link: "type": "system ()

Page:
❌ Broken link: "errno": "ECONNRESET ()

Page:
❌ Broken link: "code": "ECONNRESET ()

Page:
❌ Broken link: } ()

Page:
❌ Broken link: "code": "ECONNRESET ()

Page:
❌ Broken link: } ()

Page:
❌ Broken link: ] ()

Copy link
Contributor

🌿 Preview your docs: https://opik-preview-ce452768-8b46-4fc1-97e5-d05f655bd33a.docs.buildwithfern.com/docs/opik

The following broken links where found:

Page:
❌ Broken link: { ()

Page:
❌ Broken link: "config": { ()

Page:
❌ Broken link: "method": "HEAD ()

Page:
❌ Broken link: "url": "https://docs.konghq.com/gateway/latest/ ()

Page:
❌ Broken link: "headers": { ()

Page:
❌ Broken link: "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML ( like Gecko) Chrome/79.0.3945.117 Safari/537.36)

Page:
❌ Broken link: } ()

Page:
❌ Broken link: "responseType": "stream ()

Page:
❌ Broken link: "timeout": null ()

Page:
❌ Broken link: } ()

Page:
❌ Broken link: "error": { ()

Page:
❌ Broken link: "message": "request to https://developer.konghq.com/gateway/ failed ( reason: socket hang up)

Page:
❌ Broken link: "type": "system ()

Page:
❌ Broken link: "errno": "ECONNRESET ()

Page:
❌ Broken link: "code": "ECONNRESET ()

Page:
❌ Broken link: } ()

Page:
❌ Broken link: "code": "ECONNRESET ()

Page:
❌ Broken link: } ()

Page:
❌ Broken link: ] ()

Page: https://opik-preview-ce452768-8b46-4fc1-97e5-d05f655bd33a.docs.buildwithfern.com/docs/opik/cookbook/smolagents
❌ Broken link: https://www.comet.com/docs/opik/tracing/opentelemetry/overview (404)

Page: https://opik-preview-ce452768-8b46-4fc1-97e5-d05f655bd33a.docs.buildwithfern.com/docs/opik/tracing/integrations/byteplus
❌ Broken link: https://status.byteplus.com/ (0)

Page: https://opik-preview-ce452768-8b46-4fc1-97e5-d05f655bd33a.docs.buildwithfern.com/docs/opik/self-host/backup
❌ Broken link: https://clickhouse.com/docs/en/sql-reference/statements/backup (404)

Page: https://opik-preview-ce452768-8b46-4fc1-97e5-d05f655bd33a.docs.buildwithfern.com/docs/opik/tracing/integrations/flowise
❌ Broken link: https://via.placeholder.com/600x400?text=Flowise+Configuration+Menu (0)

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.

[FR]: Integration for ClaudeCodeSDK
2 participants