René's URL Explorer Experiment


Title: feat(core): Add db.query.summary functionality by JPeer264 · Pull Request #21670 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(core): Add db.query.summary functionality by JPeer264 · Pull Request #21670 · getsentry/sentry-javascript

X Title: feat(core): Add db.query.summary functionality by JPeer264 · Pull Request #21670 · getsentry/sentry-javascript

Description: By implementing #21656 I saw that db.query.summary is not implemented. I wanted to use the name in a low cardinality format, but there was no function for it. I therefore added the functionality for our postgres integration in order to have db.query.summary with a low cardinality format and also having the Span name in low cardinality. We are adding almost 800bytes in source code, but on the good side is that we send less bytes over the wire, which is IMO already a big win and a great justification for the bytes (also they are living "only" on the server so it is less tragic). The OpenTelemetry docs only had few examples on how it should be done. Therefore the tests from the Java OpenTelemetry instrumentation were taken and put into sql.ported.test.ts in order to verify our function works as well. Unfortunately there are some edge cases which do not work just yet, because we use a regex implementation and wouldn't work with regex. I also checked if the regex has some performance issues, but they should all be good. Related meme joke: https://programmerhumor.io/debugging-memes/the-plural-of-regex-is-regrets-jfzt

Open Graph Description: By implementing #21656 I saw that db.query.summary is not implemented. I wanted to use the name in a low cardinality format, but there was no function for it. I therefore added the functionality fo...

X Description: By implementing #21656 I saw that db.query.summary is not implemented. I wanted to use the name in a low cardinality format, but there was no function for it. I therefore added the functionality fo...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:4fa05f32-794b-c09b-49e6-e235365db516
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA6B4:143899:5BE782:7C946C:6B044048
html-safe-noncecef8be80c48e5ce62eadb6104f1583bf98171d4d99b10bcdc7f835035f0ad87b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkI0OjE0Mzg5OTo1QkU3ODI6N0M5NDZDOjZCMDQ0MDQ4IiwidmlzaXRvcl9pZCI6Ijg5Mzk4MzE3NDk2MDU4Njc1OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1f7033892a2d406c202cd8ba2e82f87dffba2ee945eac08c64d8448fa7b99e13
hovercard-subject-tagpull_request:3903975635
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/getsentry/sentry-javascript/pull/21670/files
twitter:imagehttps://avatars.githubusercontent.com/u/10677263?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/10677263?s=400&v=4
og:image:altBy implementing #21656 I saw that db.query.summary is not implemented. I wanted to use the name in a low cardinality format, but there was no function for it. I therefore added the functionality fo...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/21670/changes#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F21670%2Ffiles
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%2F21670%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/pull/21670/changes
Reloadhttps://github.com/getsentry/sentry-javascript/pull/21670/changes
Reloadhttps://github.com/getsentry/sentry-javascript/pull/21670/changes
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues340 (340)https://github.com/getsentry/sentry-javascript/issues
Pull requests54 (54)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
Sign up for GitHub https://github.com/signup?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgetsentry%2Fsentry-javascript%2Fissues%2Fnew%2Fchoose
JPeer264https://github.com/JPeer264
develophttps://github.com/getsentry/sentry-javascript/tree/develop
jp/query-summaryhttps://github.com/getsentry/sentry-javascript/tree/jp/query-summary
Conversation 14 https://github.com/getsentry/sentry-javascript/pull/21670
Commits 4 https://github.com/getsentry/sentry-javascript/pull/21670/commits
Checks 286 https://github.com/getsentry/sentry-javascript/pull/21670/checks
Files changed https://github.com/getsentry/sentry-javascript/pull/21670/files
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21670/changes
feat(core): Add db.query.summary functionality https://github.com/getsentry/sentry-javascript/pull/21670/changes#top
Show all changes 4 commits https://github.com/getsentry/sentry-javascript/pull/21670/files
875050c feat(core): Add db.query.summary to postgres integration JPeer264 Jun 20, 2026 https://github.com/getsentry/sentry-javascript/pull/21670/commits/875050c5c251b6ce80dc915fd0ac05ef4205209c
c58d7fb fixup! feat(core): Add db.query.summary to postgres integration JPeer264 Jun 22, 2026 https://github.com/getsentry/sentry-javascript/pull/21670/commits/c58d7fb3c2221cb7271d008eda08fb3f5c90bc5d
7bd0b64 fix: Undo potential breaking changes JPeer264 Jun 24, 2026 https://github.com/getsentry/sentry-javascript/pull/21670/commits/7bd0b649fb901e672574976cece5bc8740d61d58
34b5ca7 fixup! feat(cloudflare): Add R2 bucket auto-instrumentation (#21327) JPeer264 Jun 24, 2026 https://github.com/getsentry/sentry-javascript/pull/21670/commits/34b5ca735429b6c5fc09a736d7643b144b2ad3f6
Clear filters https://github.com/getsentry/sentry-javascript/pull/21670/files
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21670/changes
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21670/changes
sql.ts https://github.com/getsentry/sentry-javascript/pull/21670/changes#diff-5098496d5d58d8ac04eb5753613ea3630aec98fb714e3f78c358f85af33ca39a
sql.ported.test.ts https://github.com/getsentry/sentry-javascript/pull/21670/changes#diff-ad152866aebd8b0aa7cec08e8005041e573659436a950652288746201cef0fbc
sql.test.ts https://github.com/getsentry/sentry-javascript/pull/21670/changes#diff-82857c7ee0952ea5a447934b80afd3f671307f11e5233f3526f725140d40eac2
packages/core/src/utils/sql.tshttps://github.com/getsentry/sentry-javascript/pull/21670/changes#diff-5098496d5d58d8ac04eb5753613ea3630aec98fb714e3f78c358f85af33ca39a
View file https://github.com/getsentry/sentry-javascript/blob/34b5ca735429b6c5fc09a736d7643b144b2ad3f6/packages/core/src/utils/sql.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/21670/{{ revealButtonHref }}
cursorhttps://github.com/apps/cursor
Jun 24, 2026https://github.com/getsentry/sentry-javascript/pull/21670/changes#r3465769482
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9DVVJTT1IiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmM2MjVmYjRhLWQ4NTgtNDUyNi05NmNhLTBmNTViYmUxZjRmMiIsImVuY3J5cHRpb25LZXkiOiJjc0pNVG5yY0d3Q0xlNlJ2RVpFdHNmbHZXTGxmSmxHTk9RX0Mwc0VBTUFZIiwiYnJhbmNoIjoianAvcXVlcnktc3VtbWFyeSIsInJlcG9Pd25lciI6ImdldHNlbnRyeSIsInJlcG9OYW1lIjoic2VudHJ5LWphdmFzY3JpcHQifX0
https://cursor.com/agents?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9XRUIiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmM2MjVmYjRhLWQ4NTgtNDUyNi05NmNhLTBmNTViYmUxZjRmMiIsImVuY3J5cHRpb25LZXkiOiJjc0pNVG5yY0d3Q0xlNlJ2RVpFdHNmbHZXTGxmSmxHTk9RX0Mwc0VBTUFZIiwiYnJhbmNoIjoianAvcXVlcnktc3VtbWFyeSIsInJlcG9Pd25lciI6ImdldHNlbnRyeSIsInJlcG9OYW1lIjoic2VudHJ5LWphdmFzY3JpcHQiLCJwck51bWJlciI6MjE2NzAsImNvbW1pdFNoYSI6ImU5NDY4NWYyYmUwODZjMTA2YjdiYWM4MmUyNjIyOGMxZTBjNWZkZjkiLCJwcm92aWRlciI6ImdpdGh1YiJ9fQ
Cursor Bugbothttps://cursor.com/bugbot
e94685fhttps://github.com/getsentry/sentry-javascript/commit/e94685f2be086c106b7bac82e26228c1e0c5fdf9
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21670/changes
cursorhttps://github.com/apps/cursor
Jun 24, 2026https://github.com/getsentry/sentry-javascript/pull/21670/changes#r3465829679
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://cursor.com/open?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9DVVJTT1IiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmY3YjBmMjMxLTg5YmUtNGVjMi04NjQ4LWYzODM1ODE2NjM2ZiIsImVuY3J5cHRpb25LZXkiOiJZQ0pFbVU2TnJqQW1iMDBDbjFsM3RxUGRRZnVUaE5oRWQ2ajNXTVNZY09BIiwiYnJhbmNoIjoianAvcXVlcnktc3VtbWFyeSIsInJlcG9Pd25lciI6ImdldHNlbnRyeSIsInJlcG9OYW1lIjoic2VudHJ5LWphdmFzY3JpcHQifX0
https://cursor.com/agents?link=eyJ2ZXJzaW9uIjoxLCJ0eXBlIjoiQlVHQk9UX0ZJWF9JTl9XRUIiLCJkYXRhIjp7InJlZGlzS2V5IjoiYnVnYm90OmY3YjBmMjMxLTg5YmUtNGVjMi04NjQ4LWYzODM1ODE2NjM2ZiIsImVuY3J5cHRpb25LZXkiOiJZQ0pFbVU2TnJqQW1iMDBDbjFsM3RxUGRRZnVUaE5oRWQ2ajNXTVNZY09BIiwiYnJhbmNoIjoianAvcXVlcnktc3VtbWFyeSIsInJlcG9Pd25lciI6ImdldHNlbnRyeSIsInJlcG9OYW1lIjoic2VudHJ5LWphdmFzY3JpcHQiLCJwck51bWJlciI6MjE2NzAsImNvbW1pdFNoYSI6IjM0YjVjYTczNTQyOWI2YzVmYzA5YTczNmQ3NjQzYjE0NGIyYWQzZjYiLCJwcm92aWRlciI6ImdpdGh1YiJ9fQ
Cursor Bugbothttps://cursor.com/bugbot
34b5ca7https://github.com/getsentry/sentry-javascript/commit/34b5ca735429b6c5fc09a736d7643b144b2ad3f6
herehttps://www.cursor.com/dashboard/bugbot
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21670/changes
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21670/changes
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21670/changes
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/21670/changes
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.