Schema:ResourceTiming: Difference between revisions
Appearance
PHP logging
EventLogging::logEvent( 'ResourceTiming', 20373861, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"ResourceTiming": 20373861
}
}
}
}
JavaScript logging
mw.track( 'event.ResourceTiming', { /* ... */ } );
Revision 20373861
Content deleted Content added
Setting max/min for encodedBodySize, the only field that's come across invalid |
No edit summary |
||
Line 12: | Line 12: | ||
"startTime": { |
"startTime": { |
||
"description": "The starting time of request.", |
"description": "The starting time of request.", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
}, |
}, |
||
"workerStart": { |
"workerStart": { |
||
"description": "The time immediately before the user agent fires an event named `fetch` at the active worker if the worker is available. Or the time immediately before the user agent runs the worker required to service the request.", |
"description": "The time immediately before the user agent fires an event named `fetch` at the active worker if the worker is available. Or the time immediately before the user agent runs the worker required to service the request.", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
}, |
}, |
||
"redirectStart": { |
"redirectStart": { |
||
"description": "The starting time of the fetch that initiates the redirect (if there is a redirect).", |
"description": "The starting time of the fetch that initiates the redirect (if there is a redirect).", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
}, |
}, |
||
"redirectEnd": { |
"redirectEnd": { |
||
"description": "The time immediately after receiving the last byte of the response of the last redirect (if there is a redirect)", |
"description": "The time immediately after receiving the last byte of the response of the last redirect (if there is a redirect)", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
}, |
}, |
||
"fetchStart": { |
"fetchStart": { |
||
"description": "The time immediately before the user agent starts checking any relevant application caches.", |
"description": "The time immediately before the user agent starts checking any relevant application caches.", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
}, |
}, |
||
"domainLookupStart": { |
"domainLookupStart": { |
||
"description": "The time immediately before the user agent starts the domain name lookup for the current document.", |
"description": "The time immediately before the user agent starts the domain name lookup for the current document.", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
}, |
}, |
||
"domainLookupEnd": { |
"domainLookupEnd": { |
||
"description": "The time immediately after the user agent finishes the domain name lookup for the current document.", |
"description": "The time immediately after the user agent finishes the domain name lookup for the current document.", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
}, |
}, |
||
"connectStart": { |
"connectStart": { |
||
"description": "The time immediately before the user agent start establishing the connection to the server to retrieve the document.", |
"description": "The time immediately before the user agent start establishing the connection to the server to retrieve the document.", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
}, |
}, |
||
"secureConnectionStart": { |
"secureConnectionStart": { |
||
"description": "The time immediately before the user agent starts the handshake process to secure the current connection.", |
"description": "The time immediately before the user agent starts the handshake process to secure the current connection.", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
}, |
}, |
||
"connectEnd": { |
"connectEnd": { |
||
"description": "The time immediately after the user agent finishes establishing the connection to the server to retrieve the current document.", |
"description": "The time immediately after the user agent finishes establishing the connection to the server to retrieve the current document.", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
}, |
}, |
||
"requestStart": { |
"requestStart": { |
||
"description": "The time immediately before the user agent starts requesting the current document from the server, or from relevant application caches or from local resources.", |
"description": "The time immediately before the user agent starts requesting the current document from the server, or from relevant application caches or from local resources.", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
}, |
}, |
||
"responseStart": { |
"responseStart": { |
||
"description": "The time immediately after the user agent receives the first byte of the response from the server, or from relevant application caches or from local resources.", |
"description": "The time immediately after the user agent receives the first byte of the response from the server, or from relevant application caches or from local resources.", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
}, |
}, |
||
"responseEnd": { |
"responseEnd": { |
||
"description": "The time immediately after the user agent receives the last byte of the current document or immediately before the transport connection is closed, whichever comes first.", |
"description": "The time immediately after the user agent receives the last byte of the current document or immediately before the transport connection is closed, whichever comes first.", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
}, |
}, |
||
"encodedBodySize": { |
"encodedBodySize": { |
||
Line 70: | Line 96: | ||
"decodedBodySize": { |
"decodedBodySize": { |
||
"description": "The size, in octets, received from a HTTP-network-or-cache fetch, of the message body [RFC7230], after removing any applied content-codings [RFC7231], if the last non-redirected fetch of the resource passes the timing allow check algorithm. The size, in octets, of the payload after removing any applied content-codings, if the resource is retrieved from relevant application caches or from local resources.", |
"description": "The size, in octets, received from a HTTP-network-or-cache fetch, of the message body [RFC7230], after removing any applied content-codings [RFC7231], if the last non-redirected fetch of the resource passes the timing allow check algorithm. The size, in octets, of the payload after removing any applied content-codings, if the resource is retrieved from relevant application caches or from local resources.", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
}, |
}, |
||
"initiatorType": { |
"initiatorType": { |
||
Line 78: | Line 106: | ||
"duration": { |
"duration": { |
||
"description": "Difference between responseEnd and startTime, respectively.", |
"description": "Difference between responseEnd and startTime, respectively.", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
}, |
}, |
||
"name": { |
"name": { |
||
Line 90: | Line 120: | ||
"transferSize": { |
"transferSize": { |
||
"description": "The size, in octets received from a HTTP-network fetch, consumed by the response header fields and the response payload body [RFC7230] if the last non-redirected fetch of the resource passes the timing allow check algorithm.", |
"description": "The size, in octets received from a HTTP-network fetch, consumed by the response header fields and the response payload body [RFC7230] if the last non-redirected fetch of the resource passes the timing allow check algorithm.", |
||
"type": "integer" |
"type": "integer", |
||
"maximum": 9223372036854775807, |
|||
"minimum": 0 |
|||
} |
} |
||
} |
} |
Revision as of 14:22, 17 August 2020
description | "Represents a set of client-side latency measurements provided by the ResourceTiming API" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
properties |
|