Skip to content

Commit e158cc3

Browse files
authored
fix(flutter): Remove outdated manual TTID API (#13737)
We'll remove support for manual TTID, we can remove the docs of it.
1 parent e2d0f9f commit e158cc3

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

includes/dart-integrations/routing-instrumentation.mdx

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -99,21 +99,8 @@ final GoRouter _router = GoRouter(
9999
## Time to Initial Display
100100

101101
Time to initial display (TTID) provides insight into how long it takes your Widget to launch and draw their first frame. This is measured by adding a span for navigation to a Widget. The SDK then sets the span operation to `ui.load.initial-display` and the span description to the Widget's route name, followed by initial display (for example, `MyWidget initial display`).
102-
There are two ways to set up TTID:
103102

104-
### Default Versus Manual Setup
105-
106-
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:
107-
108-
```dart
109-
SentryDisplayWidget(
110-
child: MyWidget(),
111-
)
112-
```
113-
114-
### Combining the Two Approaches
115-
116-
If you have some Widgets that need accurate measurements while the rest can be automatically approximated, you can use a combination of both the default and the manual method.
103+
TTID is enabled by default.
117104

118105
## Time to Full Display
119106

0 commit comments

Comments
 (0)