You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/platforms/react-native/integrations/plugin.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: "Learn more about pluggable integrations: HttpClient and RewriteFra
5
5
6
6
The Sentry SDK uses integrations to hook into the functionality of popular libraries to automatically instrument your application and give you the best data out of the box.
7
7
8
-
Integrations automatically add error instrumentation, performance instrumentation, and/or extra context information to your application. Some are enabled by default, but you can disable them or modify their settings. Other can be added to extend the default functionality of the SDK.
8
+
Integrations automatically add error instrumentation, performance instrumentation, and/or extra context information to your application. Some are enabled by default, but you can disable them or modify their settings. Others can be added to extend the default functionality of the SDK.
9
9
10
10
## Adding an Integration
11
11
@@ -92,7 +92,7 @@ Sentry.init({
92
92
93
93
#### Usage Examples
94
94
95
-
For example, if the full path to your file is `bundles/bundle1.js`:
95
+
We'll use `bundles/bundle1.js` as an example full path to your file for the table below:
Copy file name to clipboardExpand all lines: docs/platforms/react-native/tracing/instrumentation/automatic-instrumentation.mdx
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ We currently provide three routing instrumentations out of the box to instrument
34
34
35
35
### Additional Instrumentation
36
36
37
-
-[Custom Navigation](/platforms/react-native/tracing/instrumentation/custom-navigation/) to add custom navigation library integration
37
+
-[Custom Navigation](/platforms/react-native/tracing/instrumentation/custom-navigation/) to add the custom navigation library integration
38
38
-[Custom Instrumentation](/platforms/react-native/tracing/instrumentation/custom-navigation/) to add custom performance data to your application
39
39
40
40
## Features
@@ -112,11 +112,11 @@ Sentry.init({
112
112
113
113
### tracePropagationTargets
114
114
115
-
The default value of `tracePropagationTargets` is `['localhost', /^\//]`. The React Native SDK will attach the `sentry-trace` header to all outgoing XHR/fetch requests whose destination contains a string in the list or matches a regex in the list. If your frontend is making requests to a different domain, you will need to add the domain there to propagate the `sentry-trace` header to the backend services, which is required to link transactions together as part of a single trace. **The `tracePropagationTargets` option matches against the entire request URL, not just the domain. Using stricter regex to match certain parts of the URL ensures that requests do not unnecessarily have the `sentry-trace` header attached.**
115
+
The default value of `tracePropagationTargets` is `['localhost', /^\//]`. The React Native SDK will attach the `sentry-trace` header to all outgoing XHR/fetch requests whose destination contains a string in the list or matches a regex in the list. If your frontend is making requests to a different domain, you'll need to add the domain there to propagate the `sentry-trace` header to the backend services, which is required to link transactions together as part of a single trace. **The `tracePropagationTargets` option matches against the entire request URL, not just the domain. Using stricter regex to match certain parts of the URL ensures that requests don't unnecessarily have the `sentry-trace` header attached.**
You will need to configure your web server CORS to allow the `sentry-trace` header. The configuration might look like `"Access-Control-Allow-Headers: sentry-trace"`, but the configuration depends on your setup. If you do not allow the `sentry-trace` header, the request might be blocked.
119
+
You'll need to configure your web server CORS to allow the `sentry-trace` header. The configuration might look like `"Access-Control-Allow-Headers: sentry-trace"`, but the configuration depends on your setup. If you don't allow the `sentry-trace` header, the request might get blocked.
120
120
121
121
### beforeStartSpan
122
122
@@ -163,13 +163,13 @@ Sentry.init({
163
163
164
164
### idleTimeoutMs
165
165
166
-
The idle time, measured in ms, to wait until the transaction will be finished, if there are no unfinished spans. The transaction will use the end timestamp of the last finished span as the endtime for the transaction.
166
+
The amount of idle time, measured in ms, you have to wait for the transaction to finish if there are no unfinished spans. The transaction will use the end timestamp of the last finished span as the endtime for the transaction.
167
167
168
168
The default is `1_000`.
169
169
170
170
### finalTimeoutMs
171
171
172
-
The maximum duration of the transaction, measured in ms. If the transaction duration hits the `finalTimeout` value, it will be finished.
172
+
The maximum duration of the transaction, measured in ms. If the transaction duration hits the `finalTimeout` value, it will be done.
Copy file name to clipboardExpand all lines: docs/platforms/react-native/tracing/instrumentation/custom-instrumentation.mdx
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,9 +20,9 @@ import * as Sentry from "@sentry/react-native";
20
20
21
21
There are three key functions for creating spans:
22
22
23
-
-[startSpan](#starting-an-active-span-startspan): Creates a new span that is active, and which is automatically ended. You'll likely want to use this function.
24
-
-[startSpanManual](#starting-an-active-span-with-manual-end-startspanmanual): Creates a new span that is active, which has to be ended manually.
25
-
-[startInactiveSpan](#starting-inactive-spans-startinactivespan): Creates a new span that is inactive, which has to be ended manually.
23
+
-[startSpan](#starting-an-active-span-startspan): Creates a new span that is active and ends automatically. You'll likely want to use this function.
24
+
-[startSpanManual](#starting-an-active-span-with-manual-end-startspanmanual): Creates a new span that is active and has to be ended manually.
25
+
-[startInactiveSpan](#starting-inactive-spans-startinactivespan): Creates a new span that is inactive and has to be ended manually.
0 commit comments