René's URL Explorer Experiment


Title: fix(server-utils): Read Bedrock Mistral and Cohere stream token counts from invocation metrics by andreiborza · Pull Request #26176 · getsentry/sentry-javascript · GitHub

Open Graph Title: fix(server-utils): Read Bedrock Mistral and Cohere stream token counts from invocation metrics by andreiborza · Pull Request #26176 · getsentry/sentry-javascript

X Title: fix(server-utils): Read Bedrock Mistral and Cohere stream token counts from invocation metrics by andreiborza · Pull Request #26176 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: What Bedrock Mistral and Cohere streams now record the real input and output token counts that Bedrock sends in the last chunk. If the stream has no counts, the span gets no token attributes. Why T...

X Description: What Bedrock Mistral and Cohere streams now record the real input and output token counts that Bedrock sends in the last chunk. If the stream has no counts, the span gets no token attributes. Why T...

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/26176

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.3

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:dd77c6d5-1de6-196b-6450-2eb9d1246b36
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD242:2F9258:27DC095:346D2B1:6B042E8E
html-safe-noncec94456135e7e14d1b5d51a7b69a80b20cdb0d6abef047600c3734da52e818064
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjQyOjJGOTI1ODoyN0RDMDk1OjM0NkQyQjE6NkIwNDJFOEUiLCJ2aXNpdG9yX2lkIjoiMzY0NDE3NTI5NDU1MTgzMDE1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdeca8398be23ca4859b0cf4351950c62b3d1df930e150b9a6abf8076df217af3
hovercard-subject-tagpull_request:5187377152
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-javascript/26176/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ca02dafc6c6f391784925d98371ae0e4eaeb2c506c8448efb4d146442b0687cc/getsentry/sentry-javascript/pull/26176
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ca02dafc6c6f391784925d98371ae0e4eaeb2c506c8448efb4d146442b0687cc/getsentry/sentry-javascript/pull/26176
og:image:altWhat Bedrock Mistral and Cohere streams now record the real input and output token counts that Bedrock sends in the last chunk. If the stream has no counts, the span gets no token attributes. Why T...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameandreiborza
hostnamegithub.com
expected-hostnamegithub.com
Noneb7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
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
releasec3dd496c3da6ea6b77e69c09279d2b81604654f1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/26176#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F26176
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-javascript%2Fpull%2F26176
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-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/26176
Reloadhttps://github.com/getsentry/sentry-javascript/pull/26176
Reloadhttps://github.com/getsentry/sentry-javascript/pull/26176
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues341 (341)https://github.com/getsentry/sentry-javascript/issues
Pull requests57 (57)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
andreiborzahttps://github.com/andreiborza
develophttps://github.com/getsentry/sentry-javascript/tree/develop
ab/fix-bedrock-stream-output-estimatehttps://github.com/getsentry/sentry-javascript/tree/ab/fix-bedrock-stream-output-estimate
Conversationhttps://github.com/getsentry/sentry-javascript/pull/26176
Commits2 (2)https://github.com/getsentry/sentry-javascript/pull/26176/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/26176/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/26176/files
fix(server-utils): Read Bedrock Mistral and Cohere stream token counts from invocation metricshttps://github.com/getsentry/sentry-javascript/pull/26176#top
andreiborzahttps://github.com/andreiborza
develophttps://github.com/getsentry/sentry-javascript/tree/develop
ab/fix-bedrock-stream-output-estimatehttps://github.com/getsentry/sentry-javascript/tree/ab/fix-bedrock-stream-output-estimate
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Nov 6, 2026https://github.com/getsentry/sentry-javascript/pull/26176#issue-6242117761
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26176
#26118https://github.com/getsentry/sentry-javascript/pull/26118
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26176
https://github.com/andreiborza
https://github.com/claude
fix(server-utils): Estimate Bedrock Mistral and Cohere stream output …https://github.com/getsentry/sentry-javascript/pull/26176/commits/3407bdf852bf63e589f5f7403a180792c29f53a4
3407bdfhttps://github.com/getsentry/sentry-javascript/pull/26176/commits/3407bdf852bf63e589f5f7403a180792c29f53a4
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 6, 2026https://github.com/getsentry/sentry-javascript/pull/26176#issuecomment-6684256190
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26176
759dc99https://github.com/getsentry/sentry-javascript/commit/759dc996f4e0826385fa2f22bec9c2015ff6f094
5f9835bhttps://github.com/getsentry/sentry-javascript/commit/5f9835b405b1f08189d0e59ea0749a6b82d3e289
5f9835bhttps://github.com/getsentry/sentry-javascript/commit/5f9835b405b1f08189d0e59ea0749a6b82d3e289
base run #65243https://github.com/getsentry/sentry-javascript/actions/runs/42221543869
View base workflow runhttps://github.com/getsentry/sentry-javascript/actions/runs/42221543869
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26176
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Nov 6, 2026https://github.com/getsentry/sentry-javascript/pull/26176#issuecomment-6684485605
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26176
See the runhttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925430998
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431097
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431118
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431165
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431300
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431357
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925430475
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925430764
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925430809
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925430834
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925430881
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925430893
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925430906
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925430923
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925430950
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925430962
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925430965
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925430970
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431020
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431021
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431023
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431032
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431045
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431052
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431068
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431070
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431078
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431081
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431102
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431113
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431155
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431170
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431220
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431223
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431241
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431249
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431264
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431302
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431309
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431316
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431318
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431321
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431325
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431359
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431368
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431369
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431378
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431398
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431448
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431535
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431558
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431618
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431624
Detailshttps://github.com/getsentry/sentry-javascript/actions/runs/42227737260/job/127925431710
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26176
https://github.com/andreiborza
Read Mistral and Cohere stream token counts from invocation metricshttps://github.com/getsentry/sentry-javascript/pull/26176/commits/83036eef70d5b361aff7b5b3fc514a06e57c6069
83036eehttps://github.com/getsentry/sentry-javascript/pull/26176/commits/83036eef70d5b361aff7b5b3fc514a06e57c6069
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
Nov 6, 2026https://github.com/getsentry/sentry-javascript/pull/26176#event-35352266113
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
November 6, 2026 13:50https://github.com/getsentry/sentry-javascript/pull/26176#event-35353376190
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
code ownerhttps://github.com/getsentry/sentry-javascript/blob/5f9835b405b1f08189d0e59ea0749a6b82d3e289/.github/CODEOWNERS#L16
November 6, 2026 13:50https://github.com/getsentry/sentry-javascript/pull/26176#event-35353377412
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
isaacshttps://github.com/isaacs
msonnbhttps://github.com/msonnb
mydeahttps://github.com/mydea
nicohrubechttps://github.com/nicohrubec
November 6, 2026 13:50https://github.com/getsentry/sentry-javascript/pull/26176#event-35353378222
https://github.com/nicohrubec
nicohrubechttps://github.com/nicohrubec
Nov 6, 2026 https://github.com/getsentry/sentry-javascript/pull/26176#pullrequestreview-5801576184
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/26176/files/83036eef70d5b361aff7b5b3fc514a06e57c6069
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
1652cfehttps://github.com/getsentry/sentry-javascript/commit/1652cfe2e71f4f2e570fd50838fbc6c4057f93cd
Nov 6, 2026https://github.com/getsentry/sentry-javascript/pull/26176#event-35357083488
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26176
https://github.com/andreiborza
andreiborzahttps://github.com/andreiborza
November 6, 2026 14:32https://github.com/getsentry/sentry-javascript/pull/26176#event-35357087791
43081jhttps://github.com/43081j
Nov 9, 2026 https://github.com/getsentry/sentry-javascript/pull/26176#ref-commit-512e676
https://github.com/andreiborza
https://github.com/claude
https://github.com/43081j
fix(server-utils): Read Bedrock Mistral and Cohere stream token count…https://github.com/43081j/sentry-javascript/commit/512e67668d49f5954fcaed26c71522a586ec8ede
512e676https://github.com/43081j/sentry-javascript/commit/512e67668d49f5954fcaed26c71522a586ec8ede
getsentry#26176https://github.com/getsentry/sentry-javascript/pull/26176
getsentry#26118https://github.com/getsentry/sentry-javascript/pull/26118
https://github.com/apps/sentry-release-bot
sentry-release-bothttps://github.com/apps/sentry-release-bot
Nov 10, 2026 https://github.com/getsentry/sentry-javascript/pull/26176#ref-issue-6310369207
publish: getsentry/sentry-javascript@11.12.0 getsentry/publish#10343 https://github.com/getsentry/publish/issues/10343
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/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-javascript%2Fpull%2F26176
https://github.com/nicohrubec
nicohrubec https://github.com/nicohrubec
https://github.com/getsentry/sentry-javascript/pull/26176/files/83036eef70d5b361aff7b5b3fc514a06e57c6069
https://github.com/isaacs
isaacs https://github.com/isaacs
https://github.com/mydea
mydea https://github.com/mydea
https://github.com/msonnb
msonnb https://github.com/msonnb
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26176
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/26176
https://github.com/andreiborza
https://github.com/nicohrubec
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.