Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions docs/platforms/flutter/integrations/routing-instrumentation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ There are two ways to set up TTID:

The default setup is enabled automatically, but only provides an approximation of TTID. To set a more accurate TTID, manually wrap the desired widget with `SentryDisplayWidget`, as shown below:



```dart
import 'package:sentry_flutter/sentry_flutter.dart';

Expand Down Expand Up @@ -261,6 +259,20 @@ SentryNavigatorObserver(
)
```

### Ignore Routes

Set `ignoreRoutes` if you want routes to be ignored and not processed by the navigation observer.
Empty by default.

```dart
import 'package:sentry_flutter/sentry_flutter.dart';

/// Ignore matching routes
SentryNavigatorObserver(
ignoreRoutes: ["/ignoreThisRoute", "/my/ignored/route"],
)
```

### Override Transaction Name

Set `setRouteNameAsTransaction` to `true` to override the transaction name with the route name.
Expand Down