René's URL Explorer Experiment


Title: feat(anthropic): Set gen_ai.usage.output_tokens.reasoning attributes for streaming responses by srothh · Pull Request #8330 · getsentry/sentry-python · GitHub

Open Graph Title: feat(anthropic): Set gen_ai.usage.output_tokens.reasoning attributes for streaming responses by srothh · Pull Request #8330 · getsentry/sentry-python

X Title: feat(anthropic): Set gen_ai.usage.output_tokens.reasoning attributes for streaming responses by srothh · Pull Request #8330 · getsentry/sentry-python

Description: The official Python SDK for Sentry.io. Contribute to getsentry/sentry-python development by creating an account on GitHub.

Open Graph Description: Description feat(anthropic): Set gen_ai.usage.output_tokens.reasoning attributes for streaming responses

X Description: Description feat(anthropic): Set gen_ai.usage.output_tokens.reasoning attributes for streaming responses

Opengraph URL: https://github.com/getsentry/sentry-python/pull/8330

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:20871d31-aee9-16fe-2827-abb47040ec72
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE066:16CED0:4EB7D7:695B8E:6B00A65D
html-safe-nonce53fab6445116387bad48f3d2a6fe8dd7011dcccce52b235c9102d8dac5d14fa8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDY2OjE2Q0VEMDo0RUI3RDc6Njk1QjhFOjZCMDBBNjVEIiwidmlzaXRvcl9pZCI6IjIwNjg4NTgwMjg1NTk0NzYzMTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc9da0ce555b58939a4a7bd3677e03929a4aefceeab4f1159e6626e47819162bc
hovercard-subject-tagpull_request:5377856188
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-python/8330/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5339d15ca71c655af4c926296880f9642d2a759cb52453c1e5e95319e5c08338/getsentry/sentry-python/pull/8330
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5339d15ca71c655af4c926296880f9642d2a759cb52453c1e5e95319e5c08338/getsentry/sentry-python/pull/8330
og:image:altDescription feat(anthropic): Set gen_ai.usage.output_tokens.reasoning attributes for streaming responses
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesrothh
hostnamegithub.com
expected-hostnamegithub.com
None455b493e3402a3a3a06beac5d20bb7db3da060808b220aa48d6a7eca7c59863a
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-python git https://github.com/getsentry/sentry-python.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id137814779
octolytics-dimension-repository_nwogetsentry/sentry-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id137814779
octolytics-dimension-repository_network_root_nwogetsentry/sentry-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release2f575159976167242d488c0b062eb355c4e198b7
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-python/pull/8330#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F8330
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F8330
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-python
Reloadhttps://github.com/getsentry/sentry-python/pull/8330
Reloadhttps://github.com/getsentry/sentry-python/pull/8330
Reloadhttps://github.com/getsentry/sentry-python/pull/8330
getsentryhttps://github.com/getsentry
sentry-pythonhttps://github.com/getsentry/sentry-python
Codehttps://github.com/getsentry/sentry-python
Issues345 (345)https://github.com/getsentry/sentry-python/issues
Pull requests42 (42)https://github.com/getsentry/sentry-python/pulls
Discussionshttps://github.com/getsentry/sentry-python/discussions
Actionshttps://github.com/getsentry/sentry-python/actions
Security and quality2 (2)https://github.com/getsentry/sentry-python/security
Insightshttps://github.com/getsentry/sentry-python/insights
https://github.com/getsentry/sentry-python
srothhhttps://github.com/srothh
srothh/anthropic-output-tokens-reasoning-attributeshttps://github.com/getsentry/sentry-python/tree/srothh/anthropic-output-tokens-reasoning-attributes
srothh/anthropic-output-tokens-reasoning-streaminghttps://github.com/getsentry/sentry-python/tree/srothh/anthropic-output-tokens-reasoning-streaming
Conversationhttps://github.com/getsentry/sentry-python/pull/8330
Commits4 (4)https://github.com/getsentry/sentry-python/pull/8330/commits
Checkshttps://github.com/getsentry/sentry-python/pull/8330/checks
Files changedhttps://github.com/getsentry/sentry-python/pull/8330/files
feat(anthropic): Set gen_ai.usage.output_tokens.reasoning attributes for streaming responseshttps://github.com/getsentry/sentry-python/pull/8330#top
srothhhttps://github.com/srothh
srothh/anthropic-output-tokens-reasoning-attributeshttps://github.com/getsentry/sentry-python/tree/srothh/anthropic-output-tokens-reasoning-attributes
srothh/anthropic-output-tokens-reasoning-streaminghttps://github.com/getsentry/sentry-python/tree/srothh/anthropic-output-tokens-reasoning-streaming
https://github.com/srothh
srothhhttps://github.com/srothh
Nov 18, 2026https://github.com/getsentry/sentry-python/pull/8330#issue-6469374048
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/8330
https://github.com/srothh
srothhhttps://github.com/srothh
November 18, 2026 14:38https://github.com/getsentry/sentry-python/pull/8330#event-36539418412
https://github.com/srothh
srothhhttps://github.com/srothh
code ownerhttps://github.com/getsentry/sentry-python/blob/ac8ebf4a5d285347c9c6872627fa17137e48a586/.github/CODEOWNERS#L1
November 18, 2026 14:38https://github.com/getsentry/sentry-python/pull/8330#event-36539419937
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 18, 2026https://github.com/getsentry/sentry-python/pull/8330#issuecomment-6981740455
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/8330
sentry_sdk/integrations/anthropic.pyhttps://github.com/getsentry/sentry-python/pull/8330/files#diff-2fe73f39bab33821a7af1fccb0fd22b943b931b2cbf8d13aead2784b3cd21e05
Coverage Actionhttps://github.com/getsentry/coverage-action
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/8330
srothhhttps://github.com/srothh
November 18, 2026 16:19https://github.com/getsentry/sentry-python/pull/8330#commits-pushed-e3eccff
https://github.com/srothh
feat(anthropic): Set output tokens for streaming responseshttps://github.com/getsentry/sentry-python/pull/8330/commits/e3eccfff4b87cbb7feec2ddda04deee6c4802e0e
#5802https://github.com/getsentry/sentry-python/issues/5802
e3eccffhttps://github.com/getsentry/sentry-python/pull/8330/commits/e3eccfff4b87cbb7feec2ddda04deee6c4802e0e
https://github.com/srothh
test(anthropic): Add tests for streaming reasoning tokenshttps://github.com/getsentry/sentry-python/pull/8330/commits/02306295cf8a4363d4ed1778a8d3f5eee74dcfb1
0230629https://github.com/getsentry/sentry-python/pull/8330/commits/02306295cf8a4363d4ed1778a8d3f5eee74dcfb1
https://github.com/srothh
ref(anthropic): Fix ruff formattinghttps://github.com/getsentry/sentry-python/pull/8330/commits/10fafd6c73c60073d6e49e60243e85c6150d994e
#5802https://github.com/getsentry/sentry-python/issues/5802
10fafd6https://github.com/getsentry/sentry-python/pull/8330/commits/10fafd6c73c60073d6e49e60243e85c6150d994e
https://github.com/srothh
test(anthropic): Remove unnecassary test parametrization from reasoni…https://github.com/getsentry/sentry-python/pull/8330/commits/a5bf84454353e4953bda5a0402771cb5c4cb8707
a5bf844https://github.com/getsentry/sentry-python/pull/8330/commits/a5bf84454353e4953bda5a0402771cb5c4cb8707
https://github.com/srothh
srothhhttps://github.com/srothh
force-pushedhttps://github.com/getsentry/sentry-python/compare/f1a8be7eb37bac5d7dd45efe9032e5e125b9fb38..a5bf84454353e4953bda5a0402771cb5c4cb8707
f1a8be7https://github.com/getsentry/sentry-python/commit/f1a8be7eb37bac5d7dd45efe9032e5e125b9fb38
a5bf844https://github.com/getsentry/sentry-python/commit/a5bf84454353e4953bda5a0402771cb5c4cb8707
Compare https://github.com/getsentry/sentry-python/compare/f1a8be7eb37bac5d7dd45efe9032e5e125b9fb38..a5bf84454353e4953bda5a0402771cb5c4cb8707
November 18, 2026 15:26https://github.com/getsentry/sentry-python/pull/8330#event-36544820464
https://github.com/alexander-alderman-webb
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
Nov 18, 2026 https://github.com/getsentry/sentry-python/pull/8330#pullrequestreview-5960120068
View reviewed changes https://github.com/getsentry/sentry-python/pull/8330/files/a5bf84454353e4953bda5a0402771cb5c4cb8707
alexander-alderman-webbhttps://github.com/alexander-alderman-webb
https://github.com/getsentry/sentry-python/pull/8330#pullrequestreview-5960120068
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/8330
https://github.com/srothh
srothhhttps://github.com/srothh
9d4ffb8https://github.com/getsentry/sentry-python/commit/9d4ffb88a7199e374611363a6158362e0233faf6
Nov 19, 2026https://github.com/getsentry/sentry-python/pull/8330#event-36631608805
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/8330
https://github.com/srothh
srothhhttps://github.com/srothh
November 19, 2026 09:24https://github.com/getsentry/sentry-python/pull/8330#event-36631612464
https://github.co/hiddenchars
https://github.com/getsentry/sentry-python/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-python%2Fpull%2F8330
https://github.com/alexander-alderman-webb
alexander-alderman-webb https://github.com/alexander-alderman-webb
https://github.com/getsentry/sentry-python/pull/8330/files/a5bf84454353e4953bda5a0402771cb5c4cb8707
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/8330
Please reload this pagehttps://github.com/getsentry/sentry-python/pull/8330
https://github.com/srothh
https://github.com/alexander-alderman-webb
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.