Page MenuHomePhabricator

[EPIC] Deploy latest version of Metrics Platform client libraries
Closed, ResolvedPublic

Description

Epic: T346285: [Epic] Create Metrics Platform API for Submitting Core Interaction Events

Background

In T346287, T346288, and T346286, we updated the JS, Java, and PHP client libraries to produce core interaction events. Before they can be used by us and, eventually, by third-parties, they must be deployed.

AC

  • The latest version of the Java client library is published to Maven
  • The latest version of the JS client library is integrated into EventLogging
  • The latest version of the PHP client library is merged into mediawiki/vendor
  • The above are all tested end to end
  • Deployment processes are documented on Wikitech

Details

TitleReferenceAuthorSource BranchDest Branch
[JS] Update monoschema schema URIrepos/data-engineering/metrics-platform!17phuedxwork/phuedx/T350495main
Customize query in GitLab

Event Timeline

Unless we want to allocate some of the ACs as onboarding tasks, I can cover the Java AC -- i haven't published a release since we move to GitLab -- hopefully it's an easy switchover

With https://gerrit.wikimedia.org/r/c/schemas/event/secondary/+/951191 merged, presumably this is unblocked. I'll attempt to document the processes as i check off each AC

I'll work on the Java lib, @phuedx will work on the Javascript lib, and whoever finishes first will pick up the PHP lib - all in service of having things tested/verified next week.

Change 973729 had a related patch set uploaded (by Phuedx; author: Phuedx):

[schemas/event/secondary@master] Add sampling configuration to /analytics/mediawiki/client/metrics_event

https://gerrit.wikimedia.org/r/973729

Change 973770 had a related patch set uploaded (by Phuedx; author: Phuedx):

[mediawiki/extensions/EventLogging@master] lib: Update lib/metrics-platform to 1f3813bd9b86

https://gerrit.wikimedia.org/r/973770

per meeting @Sfaci will start looking at the PHP library

New release published for Java client library 2.0 - https://repo1.maven.org/maven2/org/wikimedia/metrics/metrics-platform/2.0/

Draft PR for updating article instruments to use core interactions schemas in Android repo - https://github.com/wikimedia/apps-android-wikipedia/pull/4286

cjming updated the task description. (Show Details)
phuedx renamed this task from Deploy latest version of Metrics Platform client libraries to [EPIC] Deploy latest version of Metrics Platform client libraries.Nov 15 2023, 9:49 AM

Change 973729 merged by jenkins-bot:

[schemas/event/secondary@master] Add sampling configuration to /analytics/mediawiki/client/metrics_event

https://gerrit.wikimedia.org/r/973729

phuedx claimed this task.
phuedx updated the task description. (Show Details)

Being bold.