Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions lib/cjs/generated/rum.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1935,6 +1935,24 @@ export interface ViewPerformanceData {
* CSS selector path of the interacted element for the INP interaction
*/
readonly target_selector?: string;
/**
* Sub-parts of the INP
*/
sub_parts?: {
/**
* Time from the start of the input event to the start of the processing of the event
*/
readonly input_delay: number;
/**
* Event handler execution time
*/
readonly processing_time: number;
/**
* Rendering time happening after processing
*/
readonly presentation_delay: number;
[k: string]: unknown;
};
[k: string]: unknown;
};
/**
Expand Down
18 changes: 18 additions & 0 deletions lib/esm/generated/rum.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1935,6 +1935,24 @@ export interface ViewPerformanceData {
* CSS selector path of the interacted element for the INP interaction
*/
readonly target_selector?: string;
/**
* Sub-parts of the INP
*/
sub_parts?: {
/**
* Time from the start of the input event to the start of the processing of the event
*/
readonly input_delay: number;
/**
* Event handler execution time
*/
readonly processing_time: number;
/**
* Rendering time happening after processing
*/
readonly presentation_delay: number;
[k: string]: unknown;
};
[k: string]: unknown;
};
/**
Expand Down
25 changes: 25 additions & 0 deletions schemas/rum/_view-performance-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,31 @@
"description": "CSS selector path of the interacted element for the INP interaction",
"$comment": "Replaces the deprecated `view.interaction_to_next_paint_target_selector`",
"readOnly": true
},
"sub_parts": {
"type": "object",
"description": "Sub-parts of the INP",
"required": ["input_delay", "processing_time", "presentation_delay"],
"properties": {
"input_delay": {
"type": "integer",
"description": "Time from the start of the input event to the start of the processing of the event",
"minimum": 0,
"readOnly": true
},
"processing_time": {
"type": "integer",
"description": "Event handler execution time",
"minimum": 0,
"readOnly": true
},
"presentation_delay": {
"type": "integer",
"description": "Rendering time happening after processing",
"minimum": 0,
"readOnly": true
}
}
}
},
"readOnly": true
Expand Down
Loading