Details
- Other Assignee
- • EChetty
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Invalid | None | T309013 EditAttemptStep Migration to (monoschema) MP | |||
Resolved | phuedx | T309985 Migrate WikiEditor EditAttemptStep instrument to Metrics Platform | |||
Open | None | T276378 EPIC: Release Metrics Platform v1 | |||
Open | None | T299916 Validate the new stream configuration properties | |||
Resolved | phuedx | T281762 Incorporate librarized Metrics Platform PHP client into EventLogging | |||
Resolved | phuedx | T281765 Publish librarized Metrics Platform PHP client to Packagist | |||
Resolved | • Mholloway | T281752 Conslidate Metrics Platform PHP client into mediawiki/libs/metrics-platform | |||
Resolved | Krinkle | T309656 Performance review for new Metrics Plaform JS library | |||
Resolved | Krinkle | T311120 Performance review for new Metrics Platform PHP library | |||
Resolved | cjming | T330460 Fix context values in Java client to pass EventLogging validation |
Event Timeline
Change 773263 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/libs/metrics-platform@master] [PHP]: Validate stream configuration
Change 773753 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/libs/metrics-platform@master] [PHP] Add MetricsClient::dispatch()
Change 776889 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/libs/metrics-platform@master] [PHP] Simplify Context- and CurationController
Change 773263 merged by jenkins-bot:
[mediawiki/libs/metrics-platform@master] [PHP]: Validate stream configuration
Change 776889 merged by jenkins-bot:
[mediawiki/libs/metrics-platform@master] [PHP] Simplify Context- and CurationController
Change 773753 merged by jenkins-bot:
[mediawiki/libs/metrics-platform@master] [PHP] Add MetricsClient::dispatch()
Change 791319 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/extensions/EventLogging@master] Integration wikimedia/metrics-platform v0.1.0
In order to properly integrate the PHP Metrics Platform client (the "client") (https://gerrit.wikimedia.org/r/c/mediawiki/extensions/EventLogging/+/791319) the following changes need to be made:
- MetricsClient should call \Psr\Log\LoggerInterface::warning() rather than ::error() throughout
- Making StreamConfig\StreamConfigFactory::getStreamConfig() return a null implementation of StreamConfig (NullStreamConfig) when $rawStreamConfigs is falsy. Currently, ::getStreamConfig() returns null, which causes the client to fail silently
Change 793411 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/libs/metrics-platform@master] [PHP] Fix StreamConfigFactory::getStreamConfig
Change 793412 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/libs/metrics-platform@master] [PHP] ::error() -> ::warning()
Change 793411 merged by jenkins-bot:
[mediawiki/libs/metrics-platform@master] [PHP] Fix StreamConfigFactory::getStreamConfig
Change 793412 merged by jenkins-bot:
[mediawiki/libs/metrics-platform@master] [PHP] ::error() -> ::warning()
Done™
AFAIK the last step to get the tests passing in CI is to add wikimedia/metrics-platform as a dependency in the mediawiki/vendor repository. The process for doing so is well documented.
Change 801418 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/libs/metrics-platform@master] \Wikimedia\Metrics -> \Wikimedia\MetricsPlatform
Change 801418 merged by jenkins-bot:
[mediawiki/libs/metrics-platform@master] \Wikimedia\Metrics -> \Wikimedia\MetricsPlatform
Change 805093 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/vendor@master] WIP: Add wikimedia/metrics-platform 0.1.0
Change 805199 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/libs/metrics-platform@master] [PHP] Require php >= 7.2.9
Change 805199 merged by Phuedx:
[mediawiki/libs/metrics-platform@master] [PHP] Require php >= 7.2.9
Change 826794 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/libs/metrics-platform@master] [PHP]: Reduce Integration interface
Change 826794 merged by jenkins-bot:
[mediawiki/libs/metrics-platform@master] [PHP]: Reduce Integration interface
Change 805093 merged by jenkins-bot:
[mediawiki/vendor@master] Add wikimedia/metrics-platform 1.0.0
Change 861898 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/libs/metrics-platform@master] [PHP]: Make MetricsClient implement Psr\Log\LoggerAwareInterface
Change 861898 merged by jenkins-bot:
[mediawiki/libs/metrics-platform@master] [PHP]: Make MetricsClient implement Psr\Log\LoggerAwareInterface
Change 883645 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/libs/metrics-platform@master] [PHP] Introduce EventSubmitter interface
Change 884298 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/extensions/EventLogging@master] Extract UserBucketService service class
Change 884299 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/extensions/EventLogging@master] Extract EventLogging.StreamConfigs service
Change 884301 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/extensions/EventLogging@master] Integrate wikimedia/metrics-platform 1.0.0
Change 884300 had a related patch set uploaded (by Phuedx; author: Phuedx):
[mediawiki/extensions/EventLogging@master] Extract EventSubmitter interface
Change 884301 abandoned by Phuedx:
[mediawiki/extensions/EventLogging@master] Integrate wikimedia/metrics-platform 1.0.0
Reason:
See I8031af03a9f229fa7f7577344291647bff25635e
Change 883645 merged by jenkins-bot:
[mediawiki/libs/metrics-platform@master] [PHP] Introduce EventSubmitter interface
Change 884298 merged by jenkins-bot:
[mediawiki/extensions/EventLogging@master] Extract UserBucketService service class
Change 884299 merged by jenkins-bot:
[mediawiki/extensions/EventLogging@master] Extract EventLogging.StreamConfigs service
Change 884300 merged by jenkins-bot:
[mediawiki/extensions/EventLogging@master] Extract EventSubmitter interface
Before https://gerrit.wikimedia.org/r/c/791319 can be merged, we need to:
- Rebase it
- Land the patch for T330460: Fix context values in Java client to pass EventLogging validation
- Tag a new version of the PHP MPC
- Update the version of the PHP MPC in mediawiki/vendor to the above
/cc @CCicalese_WMF
Edit
#2 is done. I'm testing the PHP MPC now.
Change 791319 merged by jenkins-bot:
[mediawiki/extensions/EventLogging@master] Integrate wikimedia/metrics-platform 2.0.0