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: src/platforms/common/profiling/index.mdx
+55-1
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,14 @@ sidebar_order: 5000
4
4
supported:
5
5
- android
6
6
- apple
7
+
- flutter
7
8
- go
8
9
- python
9
10
- ruby
10
11
- react-native
11
12
notSupported:
12
13
- unity
13
14
- dart
14
-
- flutter
15
15
- native
16
16
- javascript
17
17
- javascript.vue
@@ -39,6 +39,16 @@ React Native Profiling is currently in beta. Beta features are still in progress
39
39
40
40
</PlatformSection>
41
41
42
+
<PlatformSectionsupported={["flutter"]}>
43
+
44
+
<Note>
45
+
46
+
Flutter Profiling is currently in alpha and only available for iOS and macOS apps. Alpha features are still in progress and may have bugs. We recognize the irony.
47
+
48
+
</Note>
49
+
50
+
</PlatformSection>
51
+
42
52
<PlatformSectionsupported={["go"]}>
43
53
44
54
<Note>
@@ -113,6 +123,23 @@ Sentry.init({
113
123
114
124
</PlatformSection>
115
125
126
+
<PlatformSectionsupported={["flutter"]}>
127
+
128
+
<SignInNote />
129
+
130
+
```dart
131
+
SentryFlutter.init(
132
+
(options) => {
133
+
options.dsn = '___PUBLIC_DSN___';
134
+
// We recommend adjusting this value in production:
135
+
options.tracesSampleRate = 1.0;
136
+
},
137
+
appRunner: () => runApp(MyApp()),
138
+
);
139
+
```
140
+
141
+
</PlatformSection>
142
+
116
143
<PlatformSectionsupported={["go"]}>
117
144
118
145
<SignInNote />
@@ -310,6 +337,33 @@ Sentry.init({
310
337
311
338
</PlatformSection>
312
339
340
+
<PlatformSectionsupported={["flutter"]}>
341
+
342
+
<Note>
343
+
344
+
Flutter Profiling alpha is available for iOS and macOS since SDK version `7.11.0`.
345
+
346
+
</Note>
347
+
348
+
To enable profiling, set the `profilesSampleRate`:
349
+
350
+
<SignInNote />
351
+
352
+
```dart
353
+
SentryFlutter.init(
354
+
(options) => {
355
+
options.dsn = '___PUBLIC_DSN___';
356
+
// We recommend adjusting this value in production:
357
+
options.tracesSampleRate = 1.0;
358
+
// The sampling rate for profiling is relative to TracesSampleRate:
Copy file name to clipboardExpand all lines: src/platforms/common/profiling/troubleshooting.mdx
+8
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,14 @@ If you don't see any profiling data in [sentry.io](https://sentry.io), you can t
36
36
- If the automatic instrumentation is not sending performance data, try using <PlatformLinkto="/performance/instrumentation/custom-instrumentation">custom instrumentation</PlatformLink>.
37
37
- Enable <PlatformLinkto="/configuration/options/#debug">debug mode</PlatformLink> in the SDK and check the logs.
38
38
39
+
<PlatformSectionsupported={["flutter"]}>
40
+
41
+
### Limitations
42
+
43
+
Profiling is currently available only for iOS and macOS.
0 commit comments