Skip to content

Commit

Permalink
fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea committed Aug 16, 2023
1 parent 72a453d commit c2f13a0
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@ To learn more and see code samples, check out:

#### GlobalHandlers

This integration attaches global handlers to capture uncaught exceptions (`onerror`) and unhandled rejections (`onunhandledrejection`). Both handlers are enabled by default, but can be disabled through configuration. Learn more in [GlobalHandlers Integration](/platforms/javascript/configuration/integrations/default/#globalhandlers).
This integration attaches global handlers to capture uncaught exceptions (`onerror`) and unhandled rejections (`onunhandledrejection`). Both handlers are enabled by default, but can be disabled through configuration. Learn more in [GlobalHandlers Integration](/platforms/javascript/configuration/integrations/globalhandlers/).

Check out additional configuration options with the [tryCatch](/platforms/javascript/configuration/integrations/default/#trycatch) and [ReportingObserver](/platforms/javascript/configuration/integrations/plugin/#reportingobserver) integrations.
Check out additional configuration options with the [tryCatch](/platforms/javascript/configuration/integrations/trycatch/) and [ReportingObserver](/platforms/javascript/configuration/integrations/reportingobserver/) integrations.

### Other SDKs

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ To verify that the distribution has been set correctly in the SDK, open an issue

If you've uploaded source maps and they aren't applying to your code in an issue in Sentry, take a look at the JSON of the event and look for the `abs_path` to see exactly where we're attempting to resolve the file - for example, `http://localhost:8000/scripts/script.js` (`abs_path` will appear once for each frame in the stack trace - match this up with the file(s) that are not deminified.). A link to the JSON view can be found at the top of the issue page next to the date the event occurred. The uploaded artifact names must match these values.

If you have **dynamic values in your path** (for example, `https://www.site.com/{some_value}/scripts/script.js`), you may want to use the <PlatformSection notSupported={["node"]}><PlatformLink to="/configuration/integrations/plugin/#rewriteframes">`rewriteFrames` integration</PlatformLink></PlatformSection><PlatformSection supported={["node"]}><PlatformLink to="/configuration/integrations/pluggable-integrations/#rewriteframes">`rewriteFrames` integration</PlatformLink></PlatformSection> to change your `abs_path` values.
If you have **dynamic values in your path** (for example, `https://www.site.com/{some_value}/scripts/script.js`), you may want to use the <PlatformSection notSupported={["node"]}><PlatformLink to="/configuration/integrations/rewriteframes">`rewriteFrames` integration</PlatformLink></PlatformSection><PlatformSection supported={["node"]}><PlatformLink to="/configuration/integrations/pluggable-integrations/#rewriteframes">`rewriteFrames` integration</PlatformLink></PlatformSection> to change your `abs_path` values.

### Using sentry-cli

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ To verify that the distribution has been set correctly in the SDK, open an issue

If you've uploaded source maps and they aren't applying to your code in an issue in Sentry, take a look at the JSON of the event and look for the `abs_path` to see exactly where we're attempting to resolve the file - for example, `http://localhost:8000/scripts/script.js` (`abs_path` will appear once for each frame in the stack trace - match this up with the file(s) that are not deminified.). A link to the JSON view can be found at the top of the issue page next to the date the event occurred. The uploaded artifact names must match these values.

If you have **dynamic values in your path** (for example, `https://www.site.com/{some_value}/scripts/script.js`), you may want to use the <PlatformSection notSupported={["node"]}><PlatformLink to="/configuration/integrations/plugin/#rewriteframes">`rewriteFrames` integration</PlatformLink></PlatformSection><PlatformSection supported={["node"]}><PlatformLink to="/configuration/integrations/pluggable-integrations/#rewriteframes">`rewriteFrames` integration</PlatformLink></PlatformSection> to change your `abs_path` values.
If you have **dynamic values in your path** (for example, `https://www.site.com/{some_value}/scripts/script.js`), you may want to use the <PlatformSection notSupported={["node"]}><PlatformLink to="/configuration/integrations/rewriteframes">`rewriteFrames` integration</PlatformLink></PlatformSection><PlatformSection supported={["node"]}><PlatformLink to="/configuration/integrations/pluggable-integrations/#rewriteframes">`rewriteFrames` integration</PlatformLink></PlatformSection> to change your `abs_path` values.

#### Using sentry-cli

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,6 @@ As a best practice you should always avoid logging confidential information. If

- Anonymize the confidential information within the log statements (for example, swap out email addresses -> for internal identifiers)
- Use <PlatformIdentifier name="before-breadcrumb" /> to filter it out from breadcrumbs before it is attached
- Disable logging breadcrumb integration (for example, as described [here](/platforms/javascript/configuration/integrations/default/#breadcrumbs))
- Disable logging breadcrumb integration (for example, as described [here](/platforms/javascript/configuration/integrations/breadcrumbs/))

</PlatformSection>
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
title: Integrations
sidebar_order: 30
description: "Learn more about how integrations extend the functionality of our SDK to cover common libraries and environments automatically."
redirect_from:
- /platforms/javascript/configuration/integrations/plugin/
- /platforms/javascript/configuration/integrations/default/
---

Sentry provides a number of integrations which are designed to add automatic instrumentation to your application.
Expand Down Expand Up @@ -62,4 +65,4 @@ Sentry.init({

## Custom Integrations

You can also create custom integrations. [Read more about custom integrations here.](/custom)
You can also create custom integrations. [Read more about custom integrations here.](./custom)
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ For more information on custom webpack configurations in Next.js, see [Custom We

## Tree Shaking Default Integrations

By default, the Sentry SDK sets up a list of [default integrations](../integrations/default) that extend your
SDK functionality. You can also add [additional](../integrations/plugin) or [custom](../integrations/custom)
By default, the Sentry SDK sets up a list of [default integrations](../integrations) that extend your
SDK functionality. You can also add [additional](../integrations) or [custom](../integrations/custom)
integrations to your SDK configuration.
If you don't want to include default integrations in your config, you can [disable](../options/#integration-configuration)
them and add your custom array of integrations.
Expand Down
2 changes: 1 addition & 1 deletion src/platforms/react-native/troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Common fixes to this issue include:
- Checking that source maps are correctly uploaded with the exact same `release` and `dist` values as the event. They **must match** for source maps to upload correctly.
- If you set a custom `release` and `dist`, confirming that you manually uploaded the sourcemaps since our automatic source map upload script will not detect the custom values.
- Make sure that the name of the bundle in the stack trace matches exactly with the name in the source map. For example, if your stack frames say `app:///index.bundle`, the artifacts must be named `index.bundle` and `index.bundle.map` respectively.
- Checking that you are not disabling the [`RewriteFrames`](/platforms/javascript/configuration/integrations/plugin/#rewriteframes) default integration by overwriting it, filtering it out, or setting `defaultIntegrations: false`.
- Checking that you are not disabling the [`RewriteFrames`](/platforms/javascript/configuration/integrations/rewriteframes) default integration by overwriting it, filtering it out, or setting `defaultIntegrations: false`.

[For more details, please read the guide on React Native source maps.](/platforms/react-native/sourcemaps)

Expand Down
1 change: 0 additions & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ type Page = {
};

export const sortPages = (arr: any, extractor: (any) => Page = n => n): any[] => {
console.log(arr);
return arr.sort((a, b) => {
a = extractor(a);
b = extractor(b);
Expand Down

0 comments on commit c2f13a0

Please sign in to comment.