mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-12 14:35:28 +00:00
ddb5ac3a14
The VisualEditorFeatureUsage instrument is a candidate for migration to the Metrics Platform [0]. The first step of the migration is to log events both using the Event Platform directly (i.e. via mw.eventLog.submit()) and using the Metrics Platform client (i.e. via mw.eventLog.dispatch()). The Metrics Platform Client can mix in additional information - so-called context attributes [1] - based on the stream configuration. The majority of the default values mixed into each event are already known to the Metrics Platform Client. Note well that the Metrics Platform client will not log an event without one or more streams being configured to receive that event. Therefore, this change is a NOP. An example stream configuration is given in [2]. [0] https://wikitech.wikimedia.org/wiki/Metrics_Platform [1] https://gerrit.wikimedia.org/g/mediawiki/libs/metrics-platform/ +/aed6738b845/js/src/StreamConfig.d.ts#31 [2] https://phabricator.wikimedia.org/T309602#7973206 Bug: T309602 Change-Id: If40fcc6cae371788b98365953218300a5c0b3ca1 |
||
---|---|---|
.. | ||
apiresponsecache | ||
styles | ||
targets | ||
ve.init.mw.ArticleTargetEvents.js | ||
ve.init.mw.js | ||
ve.init.mw.Platform.init.js | ||
ve.init.mw.Platform.js | ||
ve.init.mw.SaveErrorHandler.js | ||
ve.init.mw.trackSubscriber.js | ||
ve.init.mw.ViewportZoomHandler.js |