Skip to content

feat(langchain): update integration to from ai.* to gen_ai.* span attributes #4678

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 52 commits into from
Aug 14, 2025

Conversation

shellmayr
Copy link
Member

@shellmayr shellmayr commented Aug 6, 2025

  • Update span attributes to new OTEL compatible schema

Closes TET-992

Copy link

linear bot commented Aug 6, 2025

Copy link

codecov bot commented Aug 6, 2025

Codecov Report

❌ Patch coverage is 62.83186% with 84 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.85%. Comparing base (1804955) to head (08e24a6).
⚠️ Report is 6 commits behind head on master.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
sentry_sdk/integrations/langchain.py 62.66% 65 Missing and 19 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4678      +/-   ##
==========================================
- Coverage   85.07%   84.85%   -0.22%     
==========================================
  Files         156      156              
  Lines       15984    16109     +125     
  Branches     2718     2740      +22     
==========================================
+ Hits        13598    13670      +72     
- Misses       1600     1651      +51     
- Partials      786      788       +2     
Files with missing lines Coverage Δ
sentry_sdk/consts.py 99.33% <100.00%> (-0.01%) ⬇️
sentry_sdk/integrations/langchain.py 65.67% <62.66%> (-6.11%) ⬇️

... and 3 files with indirect coverage changes

@antonpirker antonpirker marked this pull request as ready for review August 14, 2025 16:19
@antonpirker antonpirker requested a review from a team as a code owner August 14, 2025 16:19
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

Copy link
Member

@antonpirker antonpirker left a comment

Choose a reason for hiding this comment

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

Ready to be merged! Thanks @shellmayr !

@antonpirker antonpirker merged commit e79c36e into master Aug 14, 2025
137 of 138 checks passed
@antonpirker antonpirker deleted the shellmayr/feat/langchain-integration-update branch August 14, 2025 16:46
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