mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/WikiEditor
synced 2024-11-23 15:57:15 +00:00
457366c2cf
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. EventLogging::submit()) and using the Metrics Platform Client (i.e. via EventLogging::submitMetricsEvent()). The Metrics Platform Client can mix in additional information - so-called context attributes [1] - based on the stream configuration. Since the majority of the default values mixed into each event in Hooks::doEventLogging() are already known to the Metrics Platform Client, the majority of Hooks::doMetricsPlatformLogging() is concerned with remove those values from the event. [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://wikitech.wikimedia.org/wiki/Metrics_Platform/Creating_a_Stream_Configuration Bug: T309985 Change-Id: I052159884a9a8b21b3dc9ee01e2cafdbb173ca26 |
||
---|---|---|
.. | ||
Hooks.php |