Schema:MultimediaViewerNetworkPerformance

PHP logging

EventLogging::logEvent( 'MultimediaViewerNetworkPerformance', 15573630, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"MultimediaViewerNetworkPerformance": 15573630
			}
		}
	}
}

JavaScript logging

mw.track( 'event.MultimediaViewerNetworkPerformance', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 15573630
description"Represents a set of content loading network performance measurements provided by the Navigation Timing and Resource Timing APIs"
properties
type
description"Type of content being measured"
requiredtrue
type"string"
contentHost
description"Domain of the page where the request originated from"
requiredtrue
type"string"
urlHost
description"Domain of the content"
requiredtrue
type"string"
status
description"HTTP response status code"
requiredfalse
type"integer"
contentLength
description"Size of the content"
requiredfalse
type"integer"
country
description"Client's country"
requiredfalse
type"string"
isHttps
description"Whether the content was loaded over https or not"
requiredtrue
type"boolean"
timestamp
description"Time the request hit the server"
requiredfalse
type"integer"
total
description"Total duration of the content load, in ms"
requiredtrue
type"integer"
redirect
description"Duration of the redirect, if any, in ms"
requiredfalse
type"integer"
dns
description"Duration of the dns lookup, in ms"
requiredfalse
type"integer"
tcp
description"Duration of the TCP connect, in ms"
requiredfalse
type"integer"
request
description"Duration of the request, in ms"
requiredfalse
type"integer"
response
description"Duration of the response, in ms"
requiredfalse
type"integer"
cache
description"Duration of the cache hit, in ms"
requiredfalse
type"integer"
age
description"Cache entry age"
requiredfalse
type"integer"
XCache
description"X-Cache header"
requiredfalse
type"string"
XVarnish
description"X-Varnish header"
requiredfalse
type"string"
varnish1
description"1st varnish server"
requiredfalse
type"string"
varnish2
description"2nd varnish server"
requiredfalse
type"string"
varnish3
description"3rd varnish server"
requiredfalse
type"string"
varnish4
description"4th varnish server"
requiredfalse
type"string"
varnish1hits
description"Hit count on the 1st varnish server"
requiredfalse
type"integer"
varnish2hits
description"Hit count on the 2nd varnish server"
requiredfalse
type"integer"
varnish3hits
description"Hit count on the 3rd varnish server"
requiredfalse
type"integer"
varnish4hits
description"Hit count on the 4th varnish server"
requiredfalse
type"integer"
bandwidth
description"Bandwidth, as provided by the Network Information API"
requiredfalse
type"integer"
metered
description"Whether the connection is metered or not, as provided by the Network Information API"
requiredfalse
type"boolean"
uploadTimestamp
description"Timestamp of the most recent upload for that file"
requiredfalse
type"string"
lastModified
description"Last-Modified header as returned by the server"
requiredfalse
type"integer"
imageWidth
description"Requested thumbnail width (for image requests)"
requiredfalse
type"integer"