view.url) and user information like device type (device.type) and country (geo.country).view.loading_time metric is associated with view events, while the resource.method attribute is associated with resource events.| Attribute | Type | Description |
|---|---|---|
date | Integer | Event timestamp (in milliseconds, epoch milliseconds). |
type | String | Event type (such as session, view, resource, error, action). |
application.id | String | Unique application identifier. |
service | String | Service name that generated this event. |
env | String | Application environment name (such as prod, dev, staging). |
version | String | Application version. |
sdk_version | String | Flashcat RUM SDK version. |
| Attribute | Type | Description |
|---|---|---|
device.type | String | Device type (such as Desktop, Mobile, Tablet, TV, Other). |
device.brand | String | Device brand (such as Apple, Samsung, Huawei). |
device.model | String | Device model (such as iPhone, iPad). |
device.name | String | Device commercial name. |
| Attribute | Type | Description |
|---|---|---|
os.name | String | Operating system name (such as Mac OS, Windows, iOS). |
os.version | String | OS version number (such as 10.15.7, 11.0). |
os.version_major | String | OS major version number (such as 10, 11). |
| Attribute | Type | Description |
|---|---|---|
browser.name | String | Browser name (such as Chrome, Firefox, Safari, Edge). |
browser.version | String | Browser version number (such as 91.0.4472.124). |
browser.version_major | String | Browser major version number (such as 91). |
browser.user_agent | String | User Agent string. |
browser.viewport.width | Number | Browser viewport width (pixels). |
browser.viewport.height | Number | Browser viewport height (pixels). |
| Attribute | Type | Description |
|---|---|---|
geo.country | String | Country name. |
geo.country_iso_code | String | Country ISO code (such as US, CN). |
geo.country_subdivision | String | First-level administrative division of the country (such as US states, Chinese provinces). |
geo.continent_code | String | Continent ISO code (such as EU, AS, NA). |
geo.continent | String | Continent name. |
geo.city | String | City name. |
| Attribute | Type | Description |
|---|---|---|
usr.id | String | Unique user identifier. |
usr.name | String | User-friendly name, displayed by default in RUM UI. |
usr.email | String | User email address. Email is displayed if no username is provided. |
usr.plan, usr.role, etc.| Attribute | Type | Description |
|---|---|---|
session.id | String | Unique session identifier. |
session.type | String | Session type (such as user, synthetic). |
session.is_active | Boolean | Whether the session is active. |
session.initial_view.id | String | ID of the initial view in the session. |
session.initial_view.url | String | URL of the initial view in the session. |
session.initial_view.name | String | Name of the initial view in the session. |
session.last_view.id | String | ID of the last view in the session. |
session.last_view.url | String | URL of the last view in the session. |
session.last_view.name | String | Name of the last view in the session. |
session.has_replay | Boolean | Whether session replay is enabled for the session. |
| Attribute | Type | Description |
|---|---|---|
view.time_spent | Number (nanoseconds) | Time user spent on this view. |
view.loading_time | Number (nanoseconds) | Time required for page to fully load (triggered at loadEventEnd). |
view.largest_contentful_paint | Number (nanoseconds) | Largest Contentful Paint (LCP), rendering time of largest visible content element in viewport. |
view.first_input_delay | Number (nanoseconds) | First Input Delay (FID), time from user's first interaction with page to browser's actual response. |
view.cumulative_layout_shift | Number | Cumulative Layout Shift (CLS), quantifies unexpected movement of visible elements within viewport. |
view.interaction_to_next_paint | Number (nanoseconds) | Interaction to Next Paint (INP), measures latency of all user interactions with page. |
view.first_contentful_paint | Number (nanoseconds) | First Contentful Paint (FCP), time when browser first renders any text, image, non-blank canvas, or SVG. |
view.dom_interactive | Number (nanoseconds) | Moment parser completes work on main document (domInteractive). |
view.dom_content_loaded | Number (nanoseconds) | Time when initial HTML document is fully loaded and parsed, without waiting for stylesheets, images, and subframes to finish loading (domContentLoadedEventEnd). |
view.dom_complete | Number (nanoseconds) | Time when page and all subresources are ready (domComplete). |
view.load_event | Number (nanoseconds) | Time when load event is triggered (loadEventEnd), indicating page is fully loaded. |
view.first_byte | Number (nanoseconds) | Time to First Byte (TTFB), time from user initiating page load to browser receiving first byte of HTML document (responseStart). |
view.redirect.duration | Number (nanoseconds) | Time spent on redirects (redirectEnd - redirectStart). |
view.dns.duration | Number (nanoseconds) | Time spent on DNS lookup (domainLookupEnd - domainLookupStart). |
view.connect.duration | Number (nanoseconds) | Time spent establishing server connection (connectEnd - connectStart). |
view.ssl.duration | Number (nanoseconds) | Time spent on TLS handshake (connectEnd - secureConnectionStart). |
view.request.duration | Number (nanoseconds) | Time spent requesting HTML document (responseStart - requestStart). |
view.response.duration | Number (nanoseconds) | Time spent downloading HTML document (responseEnd - responseStart). |
view.in_foreground_periods.count | Number | Number of times view was in foreground. |
view.in_foreground_periods.duration | Number (nanoseconds) | Total time view was in foreground. |
| Attribute | Type | Description |
|---|---|---|
view.id | String | Unique view identifier. |
view.url | String | URL of the view. |
view.name | String | Customizable view name. |
view.referrer | String | Previous page URL (referrer). |
view.action.count | Number | Number of user actions collected in this view. |
view.error.count | Number | Number of errors collected in this view. |
view.resource.count | Number | Number of resources collected in this view. |
view.long_task.count | Number | Number of long tasks collected in this view. |
view.is_active | Boolean | Whether the view is active. |
| Attribute | Type | Description |
|---|---|---|
resource.duration | Number (nanoseconds) | Total time required to load the resource. |
resource.size | Number (bytes) | Resource size. |
resource.connect.duration | Number (nanoseconds) | Time required to establish server connection (connectEnd - connectStart). |
resource.ssl.duration | Number (nanoseconds) | Time required for TLS handshake. This metric doesn't appear if last request wasn't via HTTPS. |
resource.dns.duration | Number (nanoseconds) | Time required for DNS resolution (domainLookupEnd - domainLookupStart). |
resource.redirect.duration | Number (nanoseconds) | Time required for subsequent HTTP requests (redirectEnd - redirectStart). |
resource.first_byte.duration | Number (nanoseconds) | Time waiting to receive first response byte (responseStart - requestStart). |
resource.download.duration | Number (nanoseconds) | Time downloading response (responseEnd - responseStart). |
resource.render_blocking_status | String | Resource render blocking status (blocking, non-blocking). |
resource.first_party | Boolean | Whether it's a first-party resource (same domain as app). |
| Attribute | Type | Description |
|---|---|---|
resource.id | String | Unique resource identifier. |
resource.type | String | Resource type (such as xhr, fetch, css, js, image, font, media). |
resource.method | String | HTTP method (such as GET, POST, PUT, DELETE). |
resource.status_code | Number | HTTP response status code. |
resource.url | String | Resource URL. |
resource.url_host | String | Host portion of the URL. |
resource.url_path | String | Path portion of the URL. |
resource.url_query | Object | URL query parameters, parsed as key-value pairs. |
resource.url_scheme | String | URL protocol (such as https, http). |
resource.provider.name | String | Resource provider name, defaults to unknown. |
resource.provider.domain | String | Resource provider domain. |
resource.provider.type | String | Resource provider type (such as first-party, cdn, ad, analytics, social). |
resource events:| Attribute | Type | Description |
|---|---|---|
resource.graphql.operation_type | String | GraphQL operation type (query, mutation, subscription). |
resource.graphql.operation_name | String | GraphQL operation name (if provided in request). |
resource.graphql.variables | String | GraphQL variables sent with request. |
resource.graphql.payload | String | GraphQL query (limited to 32 KB, only available when trackPayload is enabled). |
resource.graphql.errors_count | Number | Number of errors returned in GraphQL response (only available when trackResponseErrors is enabled). |
resource.graphql.errors | Array | GraphQL errors array, including message, code, locations, and path (only available when trackResponseErrors is enabled). |
| Attribute | Type | Description |
|---|---|---|
long_task.duration | Number (nanoseconds) | Duration of the long task. |
long_task.is_frozen_frame | Boolean | Whether it's a frozen frame (duration exceeds 700ms). |
| Attribute | Type | Description |
|---|---|---|
error.id | String | Unique error identifier. |
error.source | String | Error source (such as console, network, source, logger, agent, webview, custom, report). |
error.type | String | Error type (error code in some cases). |
error.message | String | Concise, readable single-line error message. |
error.stack | String | Error stack trace or supplemental information. |
error.issue_id | String | Unique error issue identifier (same errors are aggregated to the same issue). |
error.fingerprint | String | Fingerprint used to uniquely identify the error. |
error.handling | String | Error handling method (handled, unhandled). |
error.handling_stack | String | Stack trace when error was handled. |
error.causes | Array | Information about other errors that caused this error. |
| Attribute | Type | Description |
|---|---|---|
error.type | String | Error type (error code in some cases). |
| Attribute | Type | Description |
|---|---|---|
error.resource.status_code | Number | HTTP response status code. |
error.resource.method | String | HTTP method (such as GET, POST). |
error.resource.url | String | Resource URL. |
error.resource.url_host | String | Host portion of the URL. |
error.resource.url_path | String | Path portion of the URL. |
error.resource.url_scheme | String | URL protocol. |
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 (such as first-party, cdn, ad, analytics). |
| Attribute | Type | Description |
|---|---|---|
action.loading_time | Number (nanoseconds) | Action loading time. Calculation method in Tracking User Actions documentation. |
action.long_task.count | Number | Number of long tasks triggered by this action. |
action.resource.count | Number | Number of resources triggered by this action. |
action.error.count | Number | Number of errors triggered by this action. |
| Attribute | Type | Description |
|---|---|---|
action.id | String | Unique user action identifier (UUID). |
action.type | String | User action type (such as click, custom). For custom user actions, set to custom. |
action.target.name | String | Element user interacted with. Only for automatically collected actions. |
action.name | String | User-friendly name (such as Click on #checkout). For custom user actions, the action name given in API call. |
| Attribute | Type | Description |
|---|---|---|
session.frustration.count | Number | Total number of frustration signals in the session. |
view.frustration.count | Number | Total number of frustration signals in the view. |
action.frustration.type:dead_click | String | Dead click detected by RUM SDK (click with no response). |
action.frustration.type:rage_click | String | Rage click detected by RUM SDK (consecutive rapid clicks). |
action.frustration.type:error_click | String | Error click detected by RUM SDK (click triggers error). |
| Attribute | Type | Description |
|---|---|---|
view.url_query.utm_source | String | Parameter in URL tracking traffic source. |
view.url_query.utm_medium | String | Parameter in URL tracking which channel traffic came from. |
view.url_query.utm_campaign | String | Parameter in URL identifying specific marketing campaign associated with view. |
view.url_query.utm_content | String | Parameter in URL identifying specific element user clicked in marketing campaign. |
view.url_query.utm_term | String | Parameter in URL tracking keywords user searched to trigger given campaign. |
beforeSend callback.beforeunload event)beforeSend callback to filter or obfuscate sensitive information.