Jump to content

Schema:StatsD

PHP logging

EventLogging::logEvent( 'StatsD', 5815068, $event );

extension.json setup for JavaScript logging

{
	"attributes": {
		"EventLogging": {
			"Schemas": {
				"StatsD": 5815068
			}
		}
	}
}

JavaScript logging

mw.track( 'event.StatsD', { /* ... */ } );
From Meta, a Wikimedia project coordination wiki
Revision 5815068
description"StatsD Metric Descriptor"
properties
name
type"string"
description"metric name"
requiredtrue
timestamp
type"integer"
description"timestamp, expressed as number of seconds since epoch"