| Metric | Description |
|---|---|
| cold_start_duration | Cold start duration: time from app process creation to first Activity rendering completion. |
| warm_start_duration | Warm start duration: app process already exists, time from Activity start to rendering completion. |
| hot_start_duration | Hot start duration: both app and Activity are in memory, time from Activity resume to rendering completion. |
| activity_start_duration | Activity start duration: time from onCreate to first frame rendering completion. |
| is_pre_warmed | Boolean indicating whether the app was started through pre-warming (Android 11+). |
RumMonitor.startView() and RumMonitor.stopView() to customize View tracking.| Attribute Name | Type | Description |
|---|---|---|
application.id | string | Flashcat application ID. |
application.name | string | App package name (e.g., com.example.app). |
application.version | string | App version name. |
application.build | string | App build version number. |
session.id | string | Unique session ID used to group events in a user journey. |
session.type | string | Session type: user. |
view.id | string | Unique ID generated for each View. |
view.url | string | Normalized URL of the View (Activity or Fragment class name). |
view.name | string | Customizable View name. |
env | string | App environment name (e.g., prod, dev). |
service | string | Service name used to distinguish different modules or microservices. |
version | string | App version. |
sdk_version | string | Flashcat SDK version. |
date | number | Event timestamp (epoch milliseconds). |
type | string | Event type (e.g., view, resource, action, error, long_task). |
| Attribute Name | Type | Description |
|---|---|---|
device.type | string | Device type, such as mobile, tablet, tv, etc. |
device.name | string | Device commercial name (e.g., Samsung Galaxy S21). |
device.model | string | Device model (e.g., SM-G991B). |
device.brand | string | Device brand (e.g., Samsung). |
device.architecture | string | Device architecture (e.g., arm64-v8a). |
device.marketing_name | string | Marketing name of the device. |
| Attribute Name | Type | Description |
|---|---|---|
connectivity.status | string | Device network reachability status (connected, not_connected, maybe). |
connectivity.interfaces | array | List of available network interfaces (e.g., wifi, cellular, ethernet). |
connectivity.cellular.technology | string | Cellular network technology type (e.g., LTE, 5G). |
connectivity.cellular.carrier_name | string | Carrier name (e.g., China Mobile). |
| Attribute Name | Type | Description |
|---|---|---|
os.name | string | Operating system name (e.g., Android). |
os.version | string | Operating system version (e.g., 13). |
os.version_major | string | OS major version number (e.g., 13). |
os.build | string | System build number (e.g., TQ2A.230505.002). |
| Attribute Name | Type | Description |
|---|---|---|
geo.country | string | Country name. |
geo.country_iso | string | Country ISO code. |
geo.city | string | City name. |
setUser() API, which will be attached to all RUM events:| Attribute Name | Type | Description |
|---|---|---|
usr.id | string | Unique user identifier. |
usr.name | string | User-friendly name. |
usr.email | string | User email address. |
usr.plan, usr.role, etc.| Attribute Name | Type | Description |
|---|---|---|
session.id | string | Unique session ID. |
session.type | string | Session type: user. |
session.has_replay | bool | Whether the session includes session replay recording. |
session.is_active | bool | Whether the session is active. |
| Attribute Name | Type | Description |
|---|---|---|
view.id | string | Unique ID for each View. |
view.name | string | Custom name for the View. |
view.url | string | URL of the View (Activity or Fragment class name). |
view.time_spent | number(ns) | Time spent by the user on this View. |
view.loading_time | number(ns) | Time required for View loading to complete. |
view.loading_type | string | View loading type: initial_load, activity_display, fragment_display. |
view.first_contentful_paint | number(ns) | First contentful paint time (API 29+ only). |
view.action.count | number | Count of all actions collected in the View. |
view.resource.count | number | Count of all resources collected in the View. |
view.error.count | number | Count of all errors collected in the View. |
view.long_task.count | number | Count of all long tasks collected in the View. |
view.crash.count | number | Count of all crashes collected in the View. |
view.is_active | bool | Whether the View is still active. |
| Attribute Name | Type | Description |
|---|---|---|
resource.id | string | Unique identifier for the resource. |
resource.type | string | Resource type (e.g., xhr, fetch, image, css, js, font, media, other). |
resource.url | string | URL of the resource. |
resource.method | string | HTTP method (e.g., GET, POST). |
resource.status_code | number | HTTP response status code. |
resource.duration | number(ns) | Total time spent loading the resource. |
resource.size | number | Resource size (bytes). |
resource.dns.duration | number(ns) | DNS resolution time (domainLookupEnd - domainLookupStart). |
resource.connect.duration | number(ns) | Time to establish connection (connectEnd - connectStart). |
resource.ssl.duration | number(ns) | TLS handshake time (connectEnd - secureConnectionStart), HTTPS only. |
resource.first_byte.duration | number(ns) | Time waiting for first byte response (responseStart - requestStart). |
resource.download.duration | number(ns) | Time downloading response (responseEnd - responseStart). |
resource.redirect.duration | number(ns) | Time spent on subsequent HTTP redirects (redirectEnd - redirectStart). |
resource.provider.name | string | Resource provider name, defaults to unknown. |
resource.provider.domain | string | Resource provider domain. |
resource.provider.type | string | Resource provider type (e.g., first-party, cdn, ad, analytics). |
| Attribute Name | Type | Description |
|---|---|---|
error.source | string | Error source (e.g., webview, logger, network, source, console). |
error.type | string | Error type or error code. |
error.message | string | Concise, human-readable one-line error message. |
error.stack | string | Stack trace or supplemental information about the error. |
error.issue_id | string | Unique identifier for the error issue. |
error.category | string | High-level categorization of errors. Possible values: ANR, Exception. |
error.file | string | File name where the error occurred (for error tracking issues). |
error.line | number | Line number where the error occurred. |
error.is_crash | bool | Indicates whether this error caused an app crash. |
| Attribute Name | Type | Description |
|---|---|---|
error.resource.status_code | number | HTTP response status code. |
error.resource.method | string | HTTP method (e.g., POST, GET). |
error.resource.url | string | Resource URL. |
error.resource.provider.name | string | Resource provider name, defaults to unknown. |
error.resource.provider.domain | string | Resource provider domain. |
error.resource.provider.type | string | Resource provider type (e.g., first-party, cdn, ad, analytics). |
| Attribute Name | Type | Description |
|---|---|---|
action.loading_time | number(ns) | Loading time for the action. |
action.long_task.count | number | Count of all long tasks for this action. |
action.resource.count | number | Count of all resources for this action. |
action.error.count | number | Count of all errors for this action. |
| Attribute Name | Type | Description |
|---|---|---|
action.id | string | UUID for the user action. |
action.type | string | User action type (e.g., tap, scroll, swipe, application_start). |
action.name | string | Name of the user action. |
action.target.name | string | Element the user interacted with, only for automatically collected actions. |
/data/data/<package_name>/cache/com.flashcat.rum/beforeSend callback.