Skip to content

Conversation

shellmayr
Copy link
Member

@shellmayr shellmayr commented Sep 3, 2025

  • Improve the instrumentation of input messages in the AI agents instrumentations.

Before:
Screenshot 2025-09-03 at 16 30 05

After:
Screenshot 2025-09-03 at 16 30 08

Closes TET-1058

Copy link

codecov bot commented Sep 3, 2025

Codecov Report

❌ Patch coverage is 49.27536% with 35 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.64%. Comparing base (ad3c435) to head (8fe5b91).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
sentry_sdk/integrations/langchain.py 44.89% 20 Missing and 7 partials ⚠️
sentry_sdk/integrations/openai.py 53.33% 3 Missing and 4 partials ⚠️
sentry_sdk/integrations/langgraph.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #4750       +/-   ##
===========================================
+ Coverage   32.11%   84.64%   +52.52%     
===========================================
  Files         158      158               
  Lines       16323    16376       +53     
  Branches     2588     2809      +221     
===========================================
+ Hits         5242    13861     +8619     
+ Misses      10575     1691     -8884     
- Partials      506      824      +318     
Files with missing lines Coverage Δ
sentry_sdk/integrations/openai_agents/utils.py 84.61% <100.00%> (+84.61%) ⬆️
sentry_sdk/integrations/langgraph.py 76.63% <50.00%> (+70.10%) ⬆️
sentry_sdk/integrations/openai.py 84.39% <53.33%> (+79.66%) ⬆️
sentry_sdk/integrations/langchain.py 63.99% <44.89%> (+59.39%) ⬆️

... and 129 files with indirect coverage changes

Copy link

linear bot commented Sep 4, 2025

@shellmayr shellmayr marked this pull request as ready for review September 4, 2025 12:39
@shellmayr shellmayr requested a review from a team as a code owner September 4, 2025 12:40
cursor[bot]

This comment was marked as outdated.

@antonpirker antonpirker changed the title feat(langchain): improve instrumentation of input messages feat(agents): improve instrumentation of input messages Sep 5, 2025
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.

Looks good now.

@antonpirker antonpirker merged commit dee6de1 into master Sep 5, 2025
132 checks passed
@antonpirker antonpirker deleted the shellmayr/feat/langchain-better-messages branch September 5, 2025 11:13
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