Skip to content

Commit 9005cf4

Browse files
committed
update
1 parent bb0206b commit 9005cf4

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

docs/platforms/flutter/integrations/app-start-instrumentation.mdx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,16 @@ App start instrumentation is available on **iOS** and **Android**.
2020

2121
Before diving into the configuration, it's important to understand how app start instrumentation behaves:
2222

23-
- It tracks the length of time from the **earliest native process initialization** until the very first frame rendered that is reported by [addTimingsCallback](https://api.flutter.dev/flutter/scheduler/SchedulerBinding/addTimingsCallback.html). Once the app start is processed, the SDK removes the callback in order to avoid additional overhead.
24-
- After receiving information about the start and end times of the app launch, the SDK does the following:
25-
- creates a transaction with the name `ui.load`
26-
- in the transaction attaches a span with the operation `app.start.cold` or `app.start.warm`
27-
- attaches the app start metrics to the transaction
23+
App start instrumentation tracks the duration between the earliest native process initialization and the first frame rendered (as reported by [addTimingsCallback](https://api.flutter.dev/flutter/scheduler/SchedulerBinding/addTimingsCallback.html)). Once the app start is processed, we remove the callback to avoid additional overhead.
24+
25+
When the SDK receives the start and end times of the app launch, we:
26+
- Create a transaction named `ui.load`
27+
- Attach a span with either `app.start.cold` or `app.start.warm` operation
28+
- Add app start metrics to the transaction
2829

2930
<Note>
3031

31-
The SDK differentiates between a cold and a warm start, but doesn't track hot starts/resumes.
32+
While we differentiate between cold and warm starts, we don't track hot starts/resumes.
3233

3334
</Note>
3435

@@ -45,13 +46,13 @@ This instrumentation is automatically enabled. There is no need for further conf
4546

4647
## Verify
4748

48-
### 1. Launch your app:
49+
### 1. Launch Your App:
4950

5051
Launch your Sentry configured app.
5152

5253
### 2. Locate Your Transaction:
5354

54-
Open the [sentry.io](https://sentry.io/) performance dashboard, find, and select the 'root /' transaction.
55+
Open the [sentry.io](https://sentry.io/) performance dashboard, find, and select the 'root /' transaction and navigate to the trace view of a sampled event.
5556

5657
### 3. View App Start Metrics:
5758

0 commit comments

Comments
 (0)