Readonly
_dd: {Internal properties
Optional
Readonly
cls?: { device_pixel_ratio?: number; [k: string]: unknown }Additional information of the reported Cumulative Layout Shift
Optional
Readonly
device_pixel_ratio?: numberPixel ratio of the device where the layout shift was reported
Optional
Readonly
configuration?: { start_session_replay_recording_manually?: boolean; [k: string]: unknown }Subset of the SDK configuration options in use during its execution
Optional
Readonly
start_session_replay_recording_manually?: booleanWhether session replay recording configured to start manually
Readonly
document_version: numberVersion of the update of the view event
Optional
Readonly
page_states?: {List of the page states during the view
Optional
profiling?: ProfilingInternalContextSchemaProfiling context
Optional
replay_stats?: {Debug metadata for Replay Sessions
Optional
records_count?: numberThe number of records produced during this view lifetime
Optional
segments_count?: numberThe number of segments sent during this view lifetime
Optional
segments_total_raw_size?: numberThe total size in bytes of the segments sent during this view lifetime
Optional
Readonly
display?: {Display properties
Optional
Readonly
scroll?: {Scroll properties
Readonly
max_depth: numberDistance between the top and the lowest point reached on this view (in pixels)
Readonly
max_depth_scroll_top: numberPage scroll top (scrolled distance) when the maximum scroll depth was reached for this view (in pixels)
Readonly
max_scroll_height: numberMaximum page scroll height (total height) for this view (in pixels)
Readonly
max_scroll_height_time: numberDuration between the view start and the time the max scroll height was reached for this view (in nanoseconds)
Optional
Readonly
feature_flags?: { [k: string]: unknown }Feature flags properties
Optional
Readonly
privacy?: { replay_level: "allow" | "mask" | "mask-user-input"; [k: string]: unknown }Privacy properties
Readonly
replay_level: "allow" | "mask" | "mask-user-input"The replay privacy level
Optional
Readonly
session?: { is_active?: boolean; sampled_for_replay?: boolean; [k: string]: unknown }Session properties
Optional
Readonly
is_active?: booleanWhether this session is currently active. Set to false to manually stop a session
Optional
Readonly
sampled_for_replay?: booleanWhether this session has been sampled for replay
Readonly
type: "view"RUM event type
Readonly
view: {View properties
Optional
accessibility?: ViewAccessibilityPropertiesAccessibility properties of the view
Readonly
action: { count: number; [k: string]: unknown }Properties of the actions of the view
Readonly
count: numberNumber of actions that occurred on the view
Optional
Readonly
cpu_ticks_count?: numberTotal number of cpu ticks during the view’s lifetime
Optional
Readonly
cpu_ticks_per_second?: numberAverage number of cpu ticks per second during the view’s lifetime
Optional
Readonly
crash?: { count: number; [k: string]: unknown }Properties of the crashes of the view
Readonly
count: numberNumber of crashes that occurred on the view
Optional
Readonly
cumulative_layout_shift?: numberTotal layout shift score that occurred on the view (deprecated in favor of view.performance.cls.score
)
Optional
Readonly
cumulative_layout_shift_target_selector?: stringCSS selector path of the first element (in document order) of the largest layout shift contributing to CLS (deprecated in favor of view.performance.cls.target_selector
)
Optional
Readonly
cumulative_layout_shift_time?: numberDuration in ns between start of the view and start of the largest layout shift contributing to CLS (deprecated in favor of view.performance.cls.timestamp
)
Optional
Readonly
custom_timings?: { [k: string]: number }User custom timings of the view. As timing name is used as facet path, it must contain only letters, digits, or the characters - _ . @ $
Optional
Readonly
dom_complete?: numberDuration in ns to the complete parsing and loading of the document and its sub resources
Optional
Readonly
dom_content_loaded?: numberDuration in ns to the complete parsing and loading of the document without its sub resources
Optional
Readonly
dom_interactive?: numberDuration in ns to the end of the parsing of the document
Readonly
error: { count: number; [k: string]: unknown }Properties of the errors of the view
Readonly
count: numberNumber of errors that occurred on the view
Optional
Readonly
first_byte?: numberDuration in ns to the response start of the document request
Optional
Readonly
first_contentful_paint?: numberDuration in ns to the first rendering (deprecated in favor of view.performance.fcp.timestamp
)
Optional
Readonly
first_input_delay?: numberDuration in ns of the first input event delay (deprecated in favor of view.performance.fid.duration
)
Optional
Readonly
first_input_target_selector?: stringCSS selector path of the first input target element (deprecated in favor of view.performance.fid.target_selector
)
Optional
Readonly
first_input_time?: numberDuration in ns to the first input (deprecated in favor of view.performance.fid.timestamp
)
Optional
flutter_build_time?: RumPerfMetricTime taken for Flutter 'build' methods.
Optional
flutter_raster_time?: RumPerfMetricTime taken for Flutter to rasterize the view.
Optional
Readonly
freeze_rate?: numberRate of freezes during the view’s lifetime (in seconds per hour)
Optional
Readonly
frozen_frame?: { count: number; [k: string]: unknown }Properties of the frozen frames of the view
Readonly
count: numberNumber of frozen frames that occurred on the view
Optional
Readonly
frustration?: { count: number; [k: string]: unknown }Properties of the frustrations of the view
Readonly
count: numberNumber of frustrations that occurred on the view
Optional
Readonly
in_foreground_periods?: { duration: number; start: number; [k: string]: unknown }[]List of the periods of time the user had the view in foreground (focused in the browser)
Optional
Readonly
interaction_to_next_paint?: numberLongest duration in ns between an interaction and the next paint (deprecated in favor of view.performance.inp.duration
)
Optional
Readonly
interaction_to_next_paint_target_selector?: stringCSS selector path of the interacted element corresponding to INP (deprecated in favor of view.performance.inp.target_selector
)
Optional
Readonly
interaction_to_next_paint_time?: numberDuration in ns between start of the view and start of the INP (deprecated in favor of view.performance.inp.timestamp
)
Optional
Readonly
interaction_to_next_view_time?: numberDuration in ns to from the last interaction on previous view to the moment the current view was displayed
Optional
Readonly
is_active?: booleanWhether the View corresponding to this event is considered active
Optional
Readonly
is_slow_rendered?: booleanWhether the View had a low average refresh rate
Optional
js_refresh_rate?: RumPerfMetricThe JavaScript refresh rate for React Native
Optional
Readonly
largest_contentful_paint?: numberDuration in ns to the largest contentful paint (deprecated in favor of view.performance.lcp.timestamp
)
Optional
Readonly
largest_contentful_paint_target_selector?: stringCSS selector path of the largest contentful paint element (deprecated in favor of view.performance.lcp.target_selector
)
Optional
Readonly
load_event?: numberDuration in ns to the end of the load event handler execution
Optional
Readonly
loading_time?: numberDuration in ns to the view is considered loaded
Optional
Readonly
loading_type?: Type of the loading of the view
Optional
Readonly
long_task?: { count: number; [k: string]: unknown }Properties of the long tasks of the view
Readonly
count: numberNumber of long tasks that occurred on the view
Optional
Readonly
memory_average?: numberAverage memory used during the view lifetime (in bytes)
Optional
Readonly
memory_max?: numberPeak memory used during the view lifetime (in bytes)
Optional
Readonly
network_settled_time?: numberDuration in ns from the moment the view was started until all the initial network requests settled
Optional
performance?: ViewPerformanceDataPerformance data. (Web Vitals, etc.)
Optional
Readonly
refresh_rate_average?: numberAverage refresh rate during the view’s lifetime (in frames per second)
Optional
Readonly
refresh_rate_min?: numberMinimum refresh rate during the view’s lifetime (in frames per second)
Readonly
resource: { count: number; [k: string]: unknown }Properties of the resources of the view
Readonly
count: numberNumber of resources that occurred on the view
Optional
Readonly
slow_frames?: { duration: number; start: number; [k: string]: unknown }[]List of slow frames during the view’s lifetime
Optional
Readonly
slow_frames_rate?: numberRate of slow frames during the view’s lifetime (in milliseconds per second)
Readonly
time_spent: numberTime spent on the view in ns
Schema of all properties of a View event