Schema:LongTask

PHP logging

EventLogging::logEvent( 'LongTask', 20498989, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"LongTask": 20498989
			}
		}
	}
}

JavaScript logging

mw.track( 'event.LongTask', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 20498989
description"Holds the long tasks data captured by the NavigationTiming extension"
properties
pageviewToken
description"Token unique to current page's JS execution context. Used to link to NavTiming data."
type"string"
name
description"Information about the type of browsing context the long task originated from."
type"string"
startTime
description"HR Time of when the long task started."
type"number"
duration
description"Long task's duration."
type"number"