mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-15 03:44:02 +00:00
e31f8e6681
The EditAttemptStep 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 (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 attribute [1] - based on the stream configuration. The majority of the default values mixed into each event via the mw.eventLog.Schema defaults mechanism 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/T309013#7953227 Bug: T309013 Change-Id: Ic88225111132b440657aab85c34b36a642a7e602 |
||
---|---|---|
.. | ||
dt-ve | ||
lib | ||
.eslintrc.json | ||
AbandonCommentDialog.js | ||
AbandonTopicDialog.js | ||
autotopicsubpopup-image.svg | ||
CommentController.js | ||
CommentDetails.js | ||
CommentItem.js | ||
controller.js | ||
debughighlighter.js | ||
debughighlighter.less | ||
dt.debug.js | ||
dt.init.js | ||
dt.init.less | ||
dt.ui.NewTopicController.less | ||
dt.ui.ReplyWidget.js | ||
dt.ui.ReplyWidget.less | ||
dt.ui.ReplyWidgetPlain.js | ||
dt.ui.ReplyWidgetVisual.js | ||
HeadingItem.js | ||
highlighter.js | ||
logger.js | ||
MemoryStorage.js | ||
ModeTabOptionWidget.js | ||
ModeTabSelectWidget.js | ||
modifier.js | ||
NewTopicController.js | ||
Parser.js | ||
ReplyLinksController.js | ||
ThreadItem.js | ||
ThreadItemSet.js | ||
topicsubscriptions.js | ||
utils.js |