PHP logging

EventLogging::logEvent( 'TestEventDuplication', 16757884, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"TestEventDuplication": 16757884
			}
		}
	}
}

JavaScript logging

mw.track( 'event.TestEventDuplication', { /* ... */ } );

Schema:TestEventDuplication

From Meta, a Wikimedia project coordination wiki
Revision 16757884
Jump to navigation Jump to search
description"Measures the level of duplication of events, if any, that are received by the EventLogging MySQL/MariaDB database by logging `testLength` events every `delay` milliseconds."
properties
testID
type"string"
description"The unique identifier of the test."
requiredtrue
testLength
type"integer"
description"The number of events to be sent during the test."
requiredtrue
eventSeqID
type"integer"
description"The index of the event in the sequence."
requiredtrue
delay
type"integer"
description"The amount of time, in milliseoconds, between sending events."
requiredtrue