Skip to content

Commit a0c435c

Browse files
committed
chore: Generate doc updates for latest changes
1 parent a366135 commit a0c435c

File tree

2 files changed

+23
-34
lines changed

2 files changed

+23
-34
lines changed

docs/registry/attributes/app.md

Lines changed: 21 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,16 @@ Describes attributes related to client-side applications (e.g. web apps or mobil
1616
| <a id="app-jank-threshold" href="#app-jank-threshold">`app.jank.threshold`</a> | double | The minimum rendering threshold for this jank, in seconds. | `0.016`; `0.7`; `1.024` | ![Development](https://img.shields.io/badge/-development-blue) |
1717
| <a id="app-screen-coordinate-x" href="#app-screen-coordinate-x">`app.screen.coordinate.x`</a> | int | The x (horizontal) coordinate of a screen coordinate, in screen pixels. | `0`; `131` | ![Development](https://img.shields.io/badge/-development-blue) |
1818
| <a id="app-screen-coordinate-y" href="#app-screen-coordinate-y">`app.screen.coordinate.y`</a> | int | The y (vertical) component of a screen coordinate, in screen pixels. | `12`; `99` | ![Development](https://img.shields.io/badge/-development-blue) |
19-
| <a id="app-screen-depth" href="#app-screen-depth">`app.screen.depth`</a> | int | The depth of this screen in the application’s screen hierarchy, where 0 represents the root screen. [3] | `0`; `2`; `5` | ![Development](https://img.shields.io/badge/-development-blue) |
20-
| <a id="app-screen-first-appear-duration" href="#app-screen-first-appear-duration">`app.screen.first_appear.duration`</a> | int | The time, in nanoseconds, from screen initialization to the first visual render of the screen. [4] | `1000` | ![Development](https://img.shields.io/badge/-development-blue) |
21-
| <a id="app-screen-id" href="#app-screen-id">`app.screen.id`</a> | string | An identifier that uniquely differentiates this screen from other screens in the same application. [5] | `f9bc787d-ff05-48ad-90e1-fca1d46130b3`; `com.example.app.MainActivity`; `com.example.shop.ProductDetailFragment`; `MyApp.ProfileView`; `MyApp.ProfileViewController` | ![Development](https://img.shields.io/badge/-development-blue) |
22-
| <a id="app-screen-load-duration" href="#app-screen-load-duration">`app.screen.load.duration`</a> | int | The total time, in nanoseconds, from navigation trigger (e.g., button tap) to when the screen is able to handle user interactions. [6] | `1000` | ![Development](https://img.shields.io/badge/-development-blue) |
23-
| <a id="app-screen-main-thread-busy-time" href="#app-screen-main-thread-busy-time">`app.screen.main_thread_busy_time`</a> | int | The time, in nanoseconds, during which the main thread is occupied or blocked from processing user input, such as during rendering, animations, or network requests. This indicates the time the app is "busy" and unable to respond to user interactions. | | ![Development](https://img.shields.io/badge/-development-blue) |
24-
| <a id="app-screen-name" href="#app-screen-name">`app.screen.name`</a> | string | The name of an application screen. [7] | `MainActivity`; `ProductDetailFragment`; `ProfileView`; `ProfileViewController` | ![Development](https://img.shields.io/badge/-development-blue) |
25-
| <a id="app-screen-nodes" href="#app-screen-nodes">`app.screen.nodes`</a> | int | The total number of visual or interactive elements (widgets, views, components, etc.) within an application screen. [8] | `5`; `23`; `147` | ![Development](https://img.shields.io/badge/-development-blue) |
26-
| <a id="app-screen-type" href="#app-screen-type">`app.screen.type`</a> | string | The type of UI management component or framework used to render and manage the screen's presentation and interactions. [9] | `swiftui`; `uikit`; `activity`; `fragment` | ![Development](https://img.shields.io/badge/-development-blue) |
27-
| <a id="app-screen-visible-duration" href="#app-screen-visible-duration">`app.screen.visible.duration`</a> | int | The total time, in nanoseconds, that the screen remained visible to the user. [10] | `1200`; `5500`; `700` | ![Development](https://img.shields.io/badge/-development-blue) |
28-
| <a id="app-start-duration" href="#app-start-duration">`app.start.duration`</a> | int | The total time, in nanoseconds, taken for the application to start, from user initiation to being ready for interaction. [11] | `1000` | ![Development](https://img.shields.io/badge/-development-blue) |
29-
| <a id="app-start-type" href="#app-start-type">`app.start.type`</a> | string | The type of application start, indicating the state of the app when it was initiated. [12] | `cold`; `warm`; `hot`; `pre_warm` | ![Development](https://img.shields.io/badge/-development-blue) |
30-
| <a id="app-widget-id" href="#app-widget-id">`app.widget.id`</a> | string | An identifier that uniquely differentiates this widget from other widgets in the same application. [13] | `f9bc787d-ff05-48ad-90e1-fca1d46130b3`; `submit_order_1829` | ![Development](https://img.shields.io/badge/-development-blue) |
31-
| <a id="app-widget-name" href="#app-widget-name">`app.widget.name`</a> | string | The name of an application widget. [14] | `submit`; `attack`; `Clear Cart` | ![Development](https://img.shields.io/badge/-development-blue) |
19+
| <a id="app-screen-first-draw-duration" href="#app-screen-first-draw-duration">`app.screen.first_draw.duration`</a> | int | The time, in nanoseconds, from screen initialization to the first frame being rendered. [3] | `1000` | ![Development](https://img.shields.io/badge/-development-blue) |
20+
| <a id="app-screen-id" href="#app-screen-id">`app.screen.id`</a> | string | An identifier that uniquely differentiates this screen from other screens in the same application. [4] | `f9bc787d-ff05-48ad-90e1-fca1d46130b3`; `com.example.app.MainActivity`; `com.example.shop.ProductDetailFragment`; `MyApp.ProfileView`; `MyApp.ProfileViewController` | ![Development](https://img.shields.io/badge/-development-blue) |
21+
| <a id="app-screen-load-duration" href="#app-screen-load-duration">`app.screen.load.duration`</a> | int | The time taken, in nanoseconds, for a screen to load and become stable, measured from when the screen begins appearing until the first stable frame has been rendered. [5] | `1000` | ![Development](https://img.shields.io/badge/-development-blue) |
22+
| <a id="app-screen-name" href="#app-screen-name">`app.screen.name`</a> | string | The name of an application screen. [6] | `MainActivity`; `ProductDetailFragment`; `ProfileView`; `ProfileViewController` | ![Development](https://img.shields.io/badge/-development-blue) |
23+
| <a id="app-screen-type" href="#app-screen-type">`app.screen.type`</a> | string | The type of UI management component or framework used to render and manage the screen's presentation and interactions. [7] | `swiftui`; `uikit`; `activity`; `fragment` | ![Development](https://img.shields.io/badge/-development-blue) |
24+
| <a id="app-screen-visible-duration" href="#app-screen-visible-duration">`app.screen.visible.duration`</a> | int | The total time, in nanoseconds, that the screen remained visible to the user. [8] | `1200`; `5500`; `700` | ![Development](https://img.shields.io/badge/-development-blue) |
25+
| <a id="app-start-duration" href="#app-start-duration">`app.start.duration`</a> | int | The total time, in nanoseconds, taken for the application to start, from user initiation to being ready for interaction. [9] | `1000` | ![Development](https://img.shields.io/badge/-development-blue) |
26+
| <a id="app-start-type" href="#app-start-type">`app.start.type`</a> | string | The type of application start, indicating the state of the app when it was initiated. [10] | `cold`; `warm` | ![Development](https://img.shields.io/badge/-development-blue) |
27+
| <a id="app-widget-id" href="#app-widget-id">`app.widget.id`</a> | string | An identifier that uniquely differentiates this widget from other widgets in the same application. [11] | `f9bc787d-ff05-48ad-90e1-fca1d46130b3`; `submit_order_1829` | ![Development](https://img.shields.io/badge/-development-blue) |
28+
| <a id="app-widget-name" href="#app-widget-name">`app.widget.name`</a> | string | The name of an application widget. [12] | `submit`; `attack`; `Clear Cart` | ![Development](https://img.shields.io/badge/-development-blue) |
3229

3330
**[1] `app.installation.id`:** Its value SHOULD persist across launches of the same application installation, including through application upgrades.
3431
It SHOULD change if the application is uninstalled or if all applications of the vendor are uninstalled.
@@ -50,34 +47,28 @@ More information about Android identifier best practices can be found in the [An
5047

5148
**[2] `app.jank.frame_count`:** Depending on platform limitations, the value provided MAY be approximation.
5249

53-
**[3] `app.screen.depth`:** Depth represents the screen's position in the screen hierarchy tree. The root screen of the app is considered to have a depth of 0. Screens that are nested within other screens (such as in tab navigation, modals, or multi-screen flows) will have increasing depth values (1, 2, etc.). For example, a modal screen that is presented over the root screen would have a depth of 1, while a screen inside a modal might have a depth of 2.
50+
**[3] `app.screen.first_draw.duration`:** This measures the time, in nanoseconds, until the first frame of the screen is rendered and becomes visible to the user.
5451

55-
**[4] `app.screen.first_appear.duration`:** This measures the time, in nanoseconds, until the first pixels of the screen are drawn and the screen becomes visible to the user. It does not necessarily mean the screen is fully interactive or that dynamic content (like images, API responses, or animations) is fully loaded.
52+
**[4] `app.screen.id`:** A screen represents only the part of the device display drawn by the app. It typically contains multiple widgets or UI components and is larger in scope than individual widgets. Multiple screens can coexist on the same display simultaneously (e.g., split view on tablets).
5653

57-
**[5] `app.screen.id`:** A screen represents only the part of the device display drawn by the app. It typically contains multiple widgets or UI components and is larger in scope than individual widgets. Multiple screens can coexist on the same display simultaneously (e.g., split view on tablets).
54+
**[5] `app.screen.load.duration`:** This attribute represents the total duration, in nanoseconds, of a screen load as experienced by the user. The screen load is considered complete when the first stable frame of the screen has been rendered. A frame is considered stable when no major layout or frame changes occur for a brief stability interval (e.g. 150 ms).
5855

59-
**[6] `app.screen.load.duration`:** This includes time, in nanoseconds, spent rendering the screen, waiting for dynamic content (if necessary), and ensuring the app is ready to process user input. The screen is considered "ready" once the UI is able to respond to user interactions such as taps, swipes, or gestures.
56+
**[6] `app.screen.name`:** A screen represents only the part of the device display drawn by the app. It typically contains multiple widgets or UI components and is larger in scope than individual widgets. Multiple screens can coexist on the same display simultaneously (e.g., split view on tablets).
6057

61-
**[7] `app.screen.name`:** A screen represents only the part of the device display drawn by the app. It typically contains multiple widgets or UI components and is larger in scope than individual widgets. Multiple screens can coexist on the same display simultaneously (e.g., split view on tablets).
58+
**[7] `app.screen.type`:** This attribute indicates which framework or structure is used to manage and display the screen’s content. For iOS, it may refer to either SwiftUI (declarative) or UIKit (imperative) for managing views. On Android, it can refer to either an Activity or a Fragment.
6259

63-
**[8] `app.screen.nodes`:** A "node" is any individual visual or interactive component contained within a screen. This includes UI elements like buttons, labels, text fields, images, containers, and static content such as images or text.
60+
**[8] `app.screen.visible.duration`:** This attribute measures the duration during which the screen is visible and actively being displayed to the user. It begins when the screen becomes visible (e.g., `viewDidAppear` on iOS or `onResume` on Android) and ends when it is no longer visible (e.g., `viewWillDisappear` on iOS or `onPause` on Android). It does **not** include the time when the screen is in the background, nor does it account for time the screen may be obscured by other views or overlays (e.g., modals, popups, or other screens in split-view).
6461

65-
**[9] `app.screen.type`:** This attribute indicates which framework or structure is used to manage and display the screen’s content. For iOS, it may refer to either SwiftUI (declarative) or UIKit (imperative) for managing views. On Android, it can refer to either an Activity or a Fragment.
62+
**[9] `app.start.duration`:** This is the time, in nanoseconds, between the user's initiation of the app start (e.g., tapping the app icon or opening a link) and the point when the app is fully ready for interaction, such as the main screen becoming visible or the app’s main functionality being accessible.
6663

67-
**[10] `app.screen.visible.duration`:** This attribute measures the duration during which the screen is visible and actively being displayed to the user. It begins when the screen becomes visible (e.g., `viewDidAppear` on iOS or `onResume` on Android) and ends when it is no longer visible (e.g., `viewWillDisappear` on iOS or `onPause` on Android). It does **not** include the time when the screen is in the background, nor does it account for time the screen may be obscured by other views or overlays (e.g., modals, popups, or other screens in split-view).
68-
69-
**[11] `app.start.duration`:** This is the time, in nanoseconds, between the user's initiation of the app start (e.g., tapping the app icon or opening a link) and the point when the app is fully ready for interaction, such as the main screen becoming visible or the app’s main functionality being accessible.
70-
71-
**[12] `app.start.type`:** Start types include:
64+
**[10] `app.start.type`:** Start types include:
7265

7366
- **Cold**: The app is started from a terminated state, meaning no prior instance of the app is running.
7467
- **Warm**: The app is started from the background, meaning an instance of the app is still in memory, but not active.
75-
- **Hot**: The app is already running and brought to the foreground, meaning no re-initialization is needed.
76-
- **Pre-Warm**: The app started uses a pre-warmed process, meaning part of the app's initialization has already been done in anticipation of the start.
7768

78-
**[13] `app.widget.id`:** A widget is an application component, typically an on-screen visual GUI element.
69+
**[11] `app.widget.id`:** A widget is an application component, typically an on-screen visual GUI element.
7970

80-
**[14] `app.widget.name`:** A widget is an application component, typically an on-screen visual GUI element.
71+
**[12] `app.widget.name`:** A widget is an application component, typically an on-screen visual GUI element.
8172

8273
---
8374

@@ -97,6 +88,4 @@ More information about Android identifier best practices can be found in the [An
9788
| Value | Description | Stability |
9889
|---|---|---|
9990
| `cold` | App start from terminated state | ![Development](https://img.shields.io/badge/-development-blue) |
100-
| `hot` | App start from memory (already running) | ![Development](https://img.shields.io/badge/-development-blue) |
101-
| `pre_warm` | App start using pre-warmed process | ![Development](https://img.shields.io/badge/-development-blue) |
102-
| `warm` | App start from background state] | ![Development](https://img.shields.io/badge/-development-blue) |
91+
| `warm` | App start from background state | ![Development](https://img.shields.io/badge/-development-blue) |

model/app/spans.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
groups:
2-
- id: span.app.screen.first_draw.client
2+
- id: span.app.screen.first_draw.internal
33
type: span
44
span_kind: internal
55
brief: This span describes the time until the first draw of an application UI screen.
@@ -15,7 +15,7 @@ groups:
1515
requirement_level: required
1616
- ref: app.screen.type
1717
requirement_level: opt_in
18-
- id: span.app.screen.load.client
18+
- id: span.app.screen.load.internal
1919
type: span
2020
span_kind: internal
2121
brief: This span describes an application screen load operation, from navigation trigger to when the first stable frame has been rendered.

0 commit comments

Comments
 (0)