Background
Rather than modifying the existing web ui click tracking instrumentation to work for the search recommendations A/B test, we want to create a separate click tracking instrumentation.
This is because existing instrumentation includes alot of extra data, is configured for a specific use case, is logging to the legacy schema, and because we also need to handle search session id with the A/B test.
Having a separate instrumentation is cleaner and makes sense considering it is temporary
User story
- Add web team member we want to be able to easily analyze search A/B test events and clean up the test after
Requirements
- This instrumentation should be designed to account for all the fields in the spec
- This instrument should account for a way to send a search session id along with the events
- This instrumentation should log to the stream created in https://phabricator.wikimedia.org/T380926
- This instrumentation should listen for Hooks fired in MobileFrontend, RelatedArticles, etc (to be implemented in https://phabricator.wikimedia.org/T383358), and fire events
Acceptance criteria
- Instrumentation fires to the TBD stream
Communication criteria - does this need an announcement or discussion?
no