Skip to content

Commit

Permalink
Remove debug/sessiontiming integration in JS (#12666)
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst authored Feb 11, 2025
1 parent 1f98635 commit d10959d
Show file tree
Hide file tree
Showing 36 changed files with 4 additions and 304 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: getsentry/action-setup-volta@c52be2ea13cfdc084edb806e81958c13e445941e # v1.2.0
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
- uses: actions/cache@v4
id: cache
with:
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ To disable system integrations, set `defaultIntegrations: false` when calling `i

To override their settings, provide a new instance with your config to the `integrations` option. For example, to turn off browser capturing console calls:


```javascript
Sentry.init({
dsn: "___PUBLIC_DSN___",
Expand Down Expand Up @@ -62,7 +61,6 @@ You can add the integration with a dynamic import using `import()`. This method
You can also lazy-load pluggable integrations via `Sentry.lazyLoadIntegration()`. This will attempt to load the integration from the Sentry CDN.
Note that this function will reject if it fails to load the integration from the Sentry CDN, which can happen if a user has an ad-blocker or if there's a network problem. You should always make sure that rejections are handled for this function in your application.


```javascript
async function loadHttpClient() {
const httpClientIntegration = await Sentry.lazyLoadIntegration(
Expand All @@ -82,13 +80,11 @@ Lazy loading is available for the following integrations:
- `captureConsoleIntegration`
- `contextLinesIntegration`
- `linkedErrorsIntegration`
- `debugIntegration`
- `dedupeIntegration`
- `extraErrorDataIntegration`
- `httpClientIntegration`
- `reportingObserverIntegration`
- `rewriteFramesIntegration`
- `sessionTimingIntegration`
- `browserProfilingIntegration`

</PlatformCategorySection>
Expand Down

This file was deleted.

8 changes: 0 additions & 8 deletions platform-includes/configuration/debug/javascript.bun.mdx

This file was deleted.

This file was deleted.

8 changes: 0 additions & 8 deletions platform-includes/configuration/debug/javascript.deno.mdx

This file was deleted.

68 changes: 0 additions & 68 deletions platform-includes/configuration/debug/javascript.mdx

This file was deleted.

8 changes: 0 additions & 8 deletions platform-includes/configuration/debug/javascript.node.mdx

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ Depending on whether an integration enhances the functionality of a particular r
| [`debugIntegration`](./debug) | | | | |
| [`extraErrorDataIntegration`](./extraerrordata) | | | ||
| [`rewriteFramesIntegration`](./rewriteframes) | || | |
| [`sessionTimingIntegration`](./sessiontiming) | | | ||

### Browser Integrations

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
| [`anrIntegration`](./anr) | || | |
| [`captureConsoleIntegration`](./captureconsole) | | | ||
| [`dataloaderIntegration`](./dataloader) | | || |
| [`debugIntegration`](./debug) | | | | |
| [`extraErrorDataIntegration`](./extraerrordata) | | | ||
| [`fsIntegration`](./fs) | | || |
| [`genericPoolIntegration`](./genericpool) | | || |
Expand All @@ -40,6 +39,5 @@
| [`redisIntegration`](./redis) | | || |
| [`requestDataIntegration`](./requestdata) | | || |
| [`rewriteFramesIntegration`](./rewriteframes) | || | |
| [`sessionTimingIntegration`](./sessiontiming) | | | ||
| [`tediousIntegration`](./tedious) | | || |
| [`trpcMiddleware`](./trpc) | ||||
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@
| [`requestDataIntegration`](./requestdata) || || |
| [`tediousIntegration`](./tedious) || || |
| [`captureConsoleIntegration`](./captureconsole) | | | ||
| [`debugIntegration`](./debug) | | | | |
| [`dataloaderIntegration`](./dataloader) | | || |
| [`extraErrorDataIntegration`](./extraerrordata) | | | ||
| [`knexIntegration`](./knex) | | || |
| [`prismaIntegration`](./prisma) | | || |
| [`rewriteFramesIntegration`](./rewriteframes) | || | |
| [`sessionTimingIntegration`](./sessiontiming) | | | ||
| [`trpcMiddleware`](./trpc) | ||||
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@
| [`browserTracingIntegration`](./browsertracing) | | || ||
| [`captureConsoleIntegration`](./captureconsole) | | | | ||
| [`contextLinesIntegration`](./contextlines) | || | | |
| [`debugIntegration`](./debug) | | | | | |
| [`extraErrorDataIntegration`](./extraerrordata) | | | | ||
| [`httpClientIntegration`](./httpclient) | || | | |
| [`moduleMetadataIntegration`](./modulemetadata) | | | | ||
| [`rewriteFramesIntegration`](./rewriteframes) | || | | |
| [`replayIntegration`](./replay) | | | |||
| [`replayCanvasIntegration`](./replaycanvas) | | | || |
| [`reportingObserverIntegration`](./reportingobserver) | || | | |
| [`sessionTimingIntegration`](./sessiontiming) | | | | ||
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@
| [`linkedErrorsIntegration`](./linkederrors) ||| | | |
| [`requestDataIntegration`](./requestDataIntegration) || | | ||
| [`captureConsoleIntegration`](./captureconsole) | | | | ||
| [`debugIntegration`](./debug) | | | | | |
| [`extraErrorDataIntegration`](./extraerrordata) | | | | ||
| [`rewriteFramesIntegration`](./rewriteframes) | || | | |
| [`sessionTimingIntegration`](./sessiontiming) | | | | ||
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
| [`childProcessIntegration`](./childProcess) || | ||
| [`anrIntegration`](./anr) | || | |
| [`captureConsoleIntegration`](./captureconsole) | | | ||
| [`debugIntegration`](./debug) | | | | |
| [`dataloaderIntegration`](./dataloader) | | || |
| [`extraErrorDataIntegration`](./extraerrordata) | | | ||
| [`fsIntegration`](./fs) | | || |
Expand All @@ -40,5 +39,4 @@
| [`nodeProfilingIntegration`](./nodeprofiling) | | || |
| [`prismaIntegration`](./prisma) | | || |
| [`rewriteFramesIntegration`](./rewriteframes) | || | |
| [`sessionTimingIntegration`](./sessiontiming) | | | ||
| [`trpcMiddleware`](./trpc) | ||||
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
| [`inboundFiltersIntegration`](./inboundfilters) ||| | | |
| [`linkedErrorsIntegration`](./linkederrors) ||| | | |
| [`captureConsoleIntegration`](./captureconsole) | | | | ||
| [`debugIntegration`](./debug) | | | | | |
| [`extraErrorDataIntegration`](./extraerrordata) | | | | ||
| [`httpClientIntegration`](./httpclient) | || | | |
| [`moduleMetadataIntegration`](./modulemetadata) | | | | ||
| [`rewriteFramesIntegration`](./rewriteframes) | || | | |
| [`reportingObserverIntegration`](./reportingobserver) | || | | |
| [`sessionTimingIntegration`](./sessiontiming) | | | | ||
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
| [`inboundFiltersIntegration`](./inboundfilters) ||| | | |
| [`linkedErrorsIntegration`](./linkederrors) ||| | | |
| [`captureConsoleIntegration`](./captureconsole) | | | | ||
| [`debugIntegration`](./debug) | | | | | |
| [`denoCronIntegration`](./denocron) | | | || |
| [`extraErrorDataIntegration`](./extraerrordata) | | | | ||
| [`rewriteFramesIntegration`](./rewriteframes) | || | | |
| [`sessionTimingIntegration`](./sessiontiming) | | | | ||
| [`trpcMiddleware`](./trpc) | ||| ||
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
| [`childProcessIntegration`](./childProcess) || | ||
| [`anrIntegration`](./anr) | || | |
| [`captureConsoleIntegration`](./captureconsole) | | | ||
| [`debugIntegration`](./debug) | | | | |
| [`dataloaderIntegration`](./dataloader) | | || |
| [`extraErrorDataIntegration`](./extraerrordata) | | | ||
| [`fsIntegration`](./fs) | | || |
Expand All @@ -40,5 +39,4 @@
| [`nodeProfilingIntegration`](./nodeprofiling) | | || |
| [`prismaIntegration`](./prisma) | | || |
| [`rewriteFramesIntegration`](./rewriteframes) | || | |
| [`sessionTimingIntegration`](./sessiontiming) | | | ||
| [`trpcMiddleware`](./trpc) | ||||
Loading

0 comments on commit d10959d

Please sign in to comment.