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 9006eb8 commit 67b29bbCopy full SHA for 67b29bb
platform-includes/performance/traces-sampler-as-filter/dart.mdx
@@ -1,7 +1,7 @@
1
```dart
2
import 'package:sentry/sentry.dart';
3
4
-Sentry.init((options) {
+await Sentry.init((options) {
5
// Determine traces sample rate based on the sampling context
6
options.tracesSampler = (samplingContext) {
7
final ctx = samplingContext.customSamplingContext;
0 commit comments