Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(anthropic) Update span attributes to usegen_ai.* namespace instead ofai.*#4674

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@constantinius
Copy link
Contributor

@constantiniusconstantinius commentedAug 5, 2025
edited by antonpirker
Loading

UpdateAnthropicIntegration to support Otel and Sentry AI Agents module compatible span attributes ofgen_ai.* family.

Closeshttps://linear.app/getsentry/issue/TET-996/improve-integration-for-anthropic-sdk

seer-by-sentry[bot] reacted with hooray emoji
@codecov
Copy link

codecovbot commentedAug 5, 2025
edited
Loading

Codecov Report

❌ Patch coverage is91.37931% with5 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.10%. Comparing base (3ef02a1) to head (6236f9d).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Files with missing linesPatch %Lines
sentry_sdk/integrations/anthropic.py90.00%3 Missing and 2 partials⚠️
Additional details and impacted files
@@            Coverage Diff             @@##           master    #4674      +/-   ##==========================================+ Coverage   85.09%   85.10%   +0.01%==========================================  Files         156      156                Lines       15842    15856      +14       Branches     2679     2684       +5     ==========================================+ Hits        13480    13494      +14- Misses       1582     1583       +1+ Partials      780      779       -1
Files with missing linesCoverage Δ
sentry_sdk/ai/utils.py72.72% <100.00%> (ø)
sentry_sdk/integrations/starlite.py81.94% <100.00%> (ø)
sentry_sdk/integrations/anthropic.py86.59% <90.00%> (-1.29%)⬇️

... and2 files with indirect coverage changes

@constantiniusconstantinius marked this pull request as ready for reviewAugust 6, 2025 18:33
@constantiniusconstantinius requested a review froma team as acode ownerAugust 6, 2025 18:33
@linear
Copy link

linearbot commentedAug 6, 2025

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@antonpirkerantonpirker changed the titlefeat(anthropic) update span attributes to usegen_ai.* namespace instead ofai.*feat(anthropic) Update span attributes to usegen_ai.* namespace instead ofai.*Aug 8, 2025
Copy link
Contributor

@antonpirkerantonpirker left a comment

Choose a reason for hiding this comment

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

Now it is ready to merge. Thanks@constantinius for the work!

@antonpirkerantonpirker merged commit378fe81 intomasterAug 8, 2025
138 checks passed
@antonpirkerantonpirker deleted the constantinius/feat/anthropic/ai-to-gen-ai-span-attributes branchAugust 8, 2025 11:03
sentrivana pushed a commit that referenced this pull requestAug 12, 2025
…stead of `ai.*` (#4674)Update `AnthropicIntegration` to support Otel and Sentry AI Agentsmodule compatible span attributes of `gen_ai.*` family.Closeshttps://linear.app/getsentry/issue/TET-996/improve-integration-for-anthropic-sdk---------Co-authored-by: Anton Pirker <anton.pirker@sentry.io>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@cursorcursor[bot]cursor[bot] left review comments

+1 more reviewer

@antonpirkerantonpirkerantonpirker approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@constantinius@antonpirker

[8]ページ先頭

©2009-2025 Movatter.jp