App
Application Attributes
Describes attributes related to client-side applications (e.g. web apps or mobile apps).
Attribute | Type | Description | Examples | Stability |
---|---|---|---|---|
app.installation.id | string | A unique identifier representing the installation of an application on a specific device [1] | 2ab2916d-a51f-4ac8-80ee-45ac31a28092 | |
app.screen.coordinate.x | int | The x (horizontal) coordinate of a screen coordinate, in screen pixels. | 0 ; 131 | |
app.screen.coordinate.y | int | The y (vertical) component of a screen coordinate, in screen pixels. | 12 ; 99 | |
app.widget.id | string | An identifier that uniquely differentiates this widget from other widgets in the same application. [2] | f9bc787d-ff05-48ad-90e1-fca1d46130b3 ; submit_order_1829 | |
app.widget.name | string | The name of an application widget. [3] | submit ; attack ; Clear Cart |
[1] app.installation.id
: Its value SHOULD persist across launches of the same application installation, including through application upgrades.
It SHOULD change if the application is uninstalled or if all applications of the vendor are uninstalled.
Additionally, users might be able to reset this value (e.g. by clearing application data).
If an app is installed multiple times on the same device (e.g. in different accounts on Android), each app.installation.id
SHOULD have a different value.
If multiple OpenTelemetry SDKs are used within the same application, they SHOULD use the same value for app.installation.id
.
Hardware IDs (e.g. serial number, IMEI, MAC address) MUST NOT be used as the app.installation.id
.
For iOS, this value SHOULD be equal to the vendor identifier.
For Android, examples of app.installation.id
implementations include:
- Firebase Installation ID.
- A globally unique UUID which is persisted across sessions in your application.
- App set ID.
Settings.getString(Settings.Secure.ANDROID_ID)
.
More information about Android identifier best practices can be found here.
[2] app.widget.id
: A widget is an application component, typically an on-screen visual GUI element.
[3] app.widget.name
: A widget is an application component, typically an on-screen visual GUI element.
Feedback
Was this page helpful?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!