Skip to content

Fix OpenAI instrumentation for TS#616

Open
koxudaxi wants to merge 7 commits intoadd-ts-anthropicfrom
fix-ts-openai
Open

Fix OpenAI instrumentation for TS#616
koxudaxi wants to merge 7 commits intoadd-ts-anthropicfrom
fix-ts-openai

Conversation

@koxudaxi
Copy link
Copy Markdown
Contributor

No description provided.

@koxudaxi koxudaxi marked this pull request as ready for review July 25, 2025 09:12
@koxudaxi koxudaxi changed the title Fix ts OpenAI Fix OpenAI instrumentation for TS Jul 25, 2025
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Jul 25, 2025

Codecov Report

❌ Patch coverage is 6.62393% with 437 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.44%. Comparing base (71f847f) to head (0a267e4).

Files with missing lines Patch % Lines
sdks/typescript/src/wrap-gemini.ts 0.00% 393 Missing ⚠️
...t/src/instrumentors/openai-otel-instrumentation.ts 0.00% 38 Missing ⚠️
sdks/typescript/src/instrumentors/openai-hook.ts 77.77% 4 Missing ⚠️
sdks/typescript/src/wrap-openai.ts 89.47% 2 Missing ⚠️
Additional details and impacted files
@@                 Coverage Diff                  @@
##           add-ts-anthropic     #616      +/-   ##
====================================================
- Coverage             88.49%   86.44%   -2.06%     
====================================================
  Files                   231      232       +1     
  Lines                 17757    18192     +435     
  Branches                763      768       +5     
====================================================
+ Hits                  15714    15726      +12     
- Misses                 2039     2462     +423     
  Partials                  4        4              
Flag Coverage Δ
App-ubuntu-latest-python3.10 99.87% <ø> (ø)
App-ubuntu-latest-python3.11 99.87% <ø> (ø)
App-ubuntu-latest-python3.12 99.87% <ø> (ø)
App-ubuntu-latest-python3.13 99.87% <ø> (ø)
SDK-ubuntu-latest-python3.10 100.00% <ø> (ø)
SDK-ubuntu-latest-python3.11 100.00% <ø> (ø)
SDK-ubuntu-latest-python3.12 100.00% <ø> (ø)
SDK-ubuntu-latest-python3.13 100.00% <ø> (ø)
TypeScript-SDK-ubuntu-latest-node18 69.56% <6.62%> (-3.81%) ⬇️
TypeScript-SDK-ubuntu-latest-node20 69.56% <6.62%> (-3.81%) ⬇️
TypeScript-SDK-ubuntu-latest-node22 69.56% <6.62%> (-3.81%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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