PHP logging
EventLogging::logEvent( 'VisualEditorDOMRetrieved', 5961496, $event );
extension.json setup for JavaScript logging
{
"attributes": {
"EventLogging": {
"Schemas": {
"VisualEditorDOMRetrieved": 5961496
}
}
}
}
JavaScript logging
mw.track( 'event.VisualEditorDOMRetrieved', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
description | "Represents timing data for VisualEditor DOM retrieval" |
---|
properties | bytes | type | "integer" |
---|
description | "Size in bytes of retrieved DOM" |
---|
|
---|
duration | type | "number" |
---|
description | "Time it took XHR to complete, in milliseconds." |
---|
|
---|
cacheHit | type | "boolean" |
---|
description | "Whether the API request was served entirely by Varnish" |
---|
|
---|
parsoidDuration | type | "number" |
---|
description | "Time it took for Parsoid to handle the request, in milliseconds" |
---|
|
---|
parsoidStart | type | "number" |
---|
description | "The time at which Parsoid started handling the request, in epoch milliseconds" |
---|
|
---|
parsoidCachedResponse | type | "boolean" |
---|
description | "True if the current DOM was already in Varnish" |
---|
|
---|
pageId | description | "`page_id` of requested page. Unset for special pages." |
---|
type | "integer" |
---|
|
---|
revId | description | "Revision ID of requested page. Unset for special pages." |
---|
type | "integer" |
---|
|
---|
|
---|