We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2291dd4 commit f59ee0bCopy full SHA for f59ee0b
platform-includes/configuration/sample-rate/flutter.mdx
@@ -0,0 +1,9 @@
1
+```dart
2
+import 'package:flutter/widgets.dart';
3
+import 'package:sentry_flutter/sentry_flutter.dart';
4
+
5
+Future<void> main() async {
6
+ // Capture only 25% of events
7
+ await SentryFlutter.init((options) => options.sampleRate = 0.25);
8
+}
9
+```
0 commit comments