René's URL Explorer Experiment


Title: Revamp the Integrations API · Issue #4790 · getsentry/sentry-javascript · GitHub

Open Graph Title: Revamp the Integrations API · Issue #4790 · getsentry/sentry-javascript

X Title: Revamp the Integrations API · Issue #4790 · getsentry/sentry-javascript

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

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

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

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Revamp the Integrations API","articleBody":"### Problem Statement\r\n\r\n### Warning: This is a WIP brainstorming doc\r\n\r\nSimilar to work done in https://github.com/getsentry/sentry-javascript/issues/4660 for the transports, we can update things for the integrations also.\r\n\r\n### Solution Brainstorm\r\n\r\nIn this ideal world, we would like to pass in the hub directly to the integration. \r\n\r\nSomething like\r\n\r\n```ts\r\ninterface NewIntegration {\r\n  name: string;\r\n  setup(hub: Hub): void;\r\n}\r\n```\r\n\r\nThe issue here is that this does not work in the node SDK, which relies on storing the hub on the domain. A new hub is constructed for every, but it re-uses the client, so the integrations will only be setup once. This means that they only get a reference to the original hub, not the new hub that comes from each domain.\r\n\r\nhttps://github.com/getsentry/sentry-javascript/blob/37b14bf2273801fa40d4aea22ab925d7753a0a40/packages/hub/src/hub.ts#L601\r\n\r\nWe could have two different hub modes though. In the first hub mode, there is some async storage that stores the hub (domains, async hooks, zonejs etc.) - so `getCurrentHub` returns the hub thats stored in async storage. In the second hub mode, `getCurrentHub` just returns the hub that originally created the client + passed in integrations.\r\n\r\n```ts\r\ninterface NewIntegration {\r\n  name: string;\r\n  // does different things based on environment.\r\n  setup(getCurrentHub: () => Hub): void;\r\n}\r\n```\r\n\r\nI recognize this is kind of confusing though, so would appreciate and suggestions for a better API here. Struggling to generate ideas beyond this.\r\n\r\nOne important thing to note is event processors. We'll need to add event processors to hubs to make this change happen. In addition, we can change the event processor API so that (optionally) we give it the name of the integration that created it. This allows for easier debugging and logging, so users can understand if an event processor dropped an event, why it happened.\r\n\r\n```ts\r\ntype addEventProcessor = (processor: EventProcessor, name?: string) => void;\r\n```\r\n\r\n","author":{"url":"https://github.com/AbhiPrasad","@type":"Person","name":"AbhiPrasad"},"datePublished":"2022-03-25T17:19:17Z","url":"https://github.com/getsentry/sentry-javascript/issues/4790"}

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/issues/:id(.:format)
route-controllerissues
route-actionshow
fetch-noncev2:730f0ac4-f873-57eb-a3c3-f8c0fdfdebf6
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCB52:311933:925898:C82E99:6B0481E1
html-safe-nonce4aa77f4c7ee6d2afb374340bfd3acfb8238b5cc5c32b42270cd2146741ad1ae1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQjUyOjMxMTkzMzo5MjU4OTg6QzgyRTk5OjZCMDQ4MUUxIiwidmlzaXRvcl9pZCI6IjU5NzgzNDcxODIyMDA0ODg0MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccfe3e31f7ebbf494c6717550db54f4af3c9b75903a842808e287b068dc54dfeb
hovercard-subject-tagrepository:3328572
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///issues/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/getsentry/sentry-javascript/issues/4790
twitter:imagehttps://repository-images.githubusercontent.com/3328572/1b73c77d-6488-4ece-9e12-e61d9eb2ac2b
twitter:cardsummary_large_image
og:imagehttps://repository-images.githubusercontent.com/3328572/1b73c77d-6488-4ece-9e12-e61d9eb2ac2b
og:image:altOfficial Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None0366ddfb372682a32e92a5d86155cb08fa83e5bbe79953a968789f2f7e24c511
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
releaseed3f2e01f6b7672780c586c8af0e72726374d7b6
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/4790#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F4790
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%2Fissues%2F4790
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fissues%2Fshow&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/4790
Reloadhttps://github.com/getsentry/sentry-javascript/issues/4790
Reloadhttps://github.com/getsentry/sentry-javascript/issues/4790
https://github.com/getsentry/sentry-javascript
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/4790
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/4790
Revamp the Integrations APIhttps://github.com/getsentry/sentry-javascript/issues/4790#top
Meta: Breakinghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Meta%3A%20Breaking%22
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
8.0.0https://github.com/getsentry/sentry-javascript/milestone/15
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Mar 25, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issue-1181045445
#4660https://github.com/getsentry/sentry-javascript/issues/4660
sentry-javascript/packages/hub/src/hub.tshttps://github.com/getsentry/sentry-javascript/blob/37b14bf2273801fa40d4aea22ab925d7753a0a40/packages/hub/src/hub.ts#L601
37b14bfhttps://github.com/getsentry/sentry-javascript/commit/37b14bf2273801fa40d4aea22ab925d7753a0a40
AbhiPrasadhttps://github.com/AbhiPrasad
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
Meta: Breakinghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Meta%3A%20Breaking%22
Status: Backloghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Backlog%22
on Mar 25, 2022https://github.com/getsentry/sentry-javascript/issues/4790#event-6308833925
AbhiPrasadhttps://github.com/AbhiPrasad
7.0.0https://github.com/getsentry/sentry-javascript/milestone/7
on Mar 25, 2022https://github.com/getsentry/sentry-javascript/issues/4790#event-6308833951
https://github.com/timfish
timfishhttps://github.com/timfish
on Mar 26, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1079746188
https://github.com/yordis
yordishttps://github.com/yordis
on Mar 26, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1079752706
@AbhiPrasadhttps://github.com/AbhiPrasad
https://github.com/kamilogorek
kamilogorekhttps://github.com/kamilogorek
on Mar 27, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1079940809
@yordishttps://github.com/yordis
https://docs.sentry.io/platforms/javascript/configuration/integrations/default/#removing-an-integrationhttps://docs.sentry.io/platforms/javascript/configuration/integrations/default/#removing-an-integration
https://github.com/yordis
yordishttps://github.com/yordis
on Mar 27, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1079964997
#4789https://github.com/getsentry/sentry-javascript/issues/4789
https://github.com/timfish
timfishhttps://github.com/timfish
on Mar 27, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1080035548
https://github.com/yordis
yordishttps://github.com/yordis
on Mar 28, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1080983070
https://github.com/mitsuhiko
mitsuhikohttps://github.com/mitsuhiko
on Mar 29, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1081977050
https://github.com/kamilogorek
kamilogorekhttps://github.com/kamilogorek
on Mar 29, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1081994094
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Mar 29, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1082178127
https://github.com/getsentry/sentry-cocoa/https://github.com/getsentry/sentry-cocoa/
Micro Frontendshttps://micro-frontends.org/
sentry-javascript/packages/core/src/baseclient.tshttps://github.com/getsentry/sentry-javascript/blob/58b3ddb4095df3c7798c5a0f699f5e5f49a2e750/packages/core/src/baseclient.ts#L525
58b3ddbhttps://github.com/getsentry/sentry-javascript/commit/58b3ddb4095df3c7798c5a0f699f5e5f49a2e750
https://github.com/philippsuess
philippsuesshttps://github.com/philippsuess
on Apr 11, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1095151911
@AbhiPrasadhttps://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
7.0.0https://github.com/getsentry/sentry-javascript/milestone/7
8.0.0https://github.com/getsentry/sentry-javascript/milestone/15
on May 30, 2022https://github.com/getsentry/sentry-javascript/issues/4790#event-6702141770
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
on Dec 12, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1347400735
https://www.npmjs.com/package/@builder.io/partytownhttps://www.npmjs.com/package/@builder.io/partytown
getsentry/rfcs#34https://github.com/getsentry/rfcs/pull/34
https://github.com/timfish
timfishhttps://github.com/timfish
on Dec 15, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1353069112
sentry-javascript/packages/replay/test/mocks/mockSdk.tshttps://github.com/getsentry/sentry-javascript/blob/2c09d9a9a45994018ca934498609222c51d9f325/packages/replay/test/mocks/mockSdk.ts#L77-L78
2c09d9ahttps://github.com/getsentry/sentry-javascript/commit/2c09d9a9a45994018ca934498609222c51d9f325
https://github.com/yordis
yordishttps://github.com/yordis
on Dec 15, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1353415812
https://github.com/timfish
timfishhttps://github.com/timfish
on Dec 19, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1357818411
sentry-javascript/packages/core/src/integrations/inboundfilters.tshttps://github.com/getsentry/sentry-javascript/blob/6a275c0b17bcf52e2d585e75d6c6829631107f93/packages/core/src/integrations/inboundfilters.ts#L16-L51
6a275c0https://github.com/getsentry/sentry-javascript/commit/6a275c0b17bcf52e2d585e75d6c6829631107f93
https://github.com/yordis
yordishttps://github.com/yordis
on Dec 19, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1357948856
https://github.com/timfish
timfishhttps://github.com/timfish
on Dec 19, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1358526547
https://github.com/yordis
yordishttps://github.com/yordis
on Dec 20, 2022https://github.com/getsentry/sentry-javascript/issues/4790#issuecomment-1358682743
hubertdeng123https://github.com/hubertdeng123
Status: Backloghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Status%3A%20Backlog%22
on Jul 26, 2023https://github.com/getsentry/sentry-javascript/issues/4790#event-9926453830
mydeahttps://github.com/mydea
completedhttps://github.com/getsentry/sentry-javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 4, 2024https://github.com/getsentry/sentry-javascript/issues/4790#event-11995389126
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/4790
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/4790
Meta: Breakinghttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Meta%3A%20Breaking%22
Type: Improvementhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Type%3A%20Improvement%22
8.0.0https://github.com/getsentry/sentry-javascript/milestone/15
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-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.