Page MenuHomePhabricator

[Maintenance] Safeguard VarnishKafka to HAProxy analytics transition
Open, HighPublic8 Estimated Story Points

Description

Ensure there is a thorough migration plan and the transition is coordinated with the traffic team.
Also consider implementing data metrics to be able to track the before / after situation.

Actively maintained docs

Project management document:

Haproxy Log validation plan and utilities

Rollout plan (tentative)

Data Platform TODOs & AC

References

Previously, we planned to generate the HAProxy log feed using a Benthos producer and align more closely with the Event Platform convention.
However, in the current iteration, neither of these are targets we are aiming for. The related Phabricator tasks have been
kept open as references and decision records.

Related Objects

StatusSubtypeAssignedTask
OpenAntoine_Quhen
Opengmodena
ResolvedJMonton-WMF
Resolvedgmodena
Resolvedgmodena
Resolvedgmodena
Resolvedgmodena
Resolvedgmodena
Resolvedgmodena
Resolvedbrouberol
ResolvedAntoine_Quhen
DuplicateJAllemandou
DuplicateJAllemandou
DuplicateFabfur
ResolvedJAllemandou
ResolvedJAllemandou
ResolvedJAllemandou
ResolvedFabfur
ResolvedJAllemandou
ResolvedJAllemandou
ResolvedJAllemandou
ResolvedJAllemandou
Resolved• elukey
DuplicateJAllemandou

Event Timeline

There are a very large number of changes, so older changes are hidden. Show Older Changes

Kwaku 1/18:

The latest update is that we have a PoC implemented in Benthos and are close to testing it. From the Phab task, you'd notice there's a discussion on how to generate IDs for each request. We have to come to some agreement based on the pros and cons of a few approaches to it which have been suggested. I'd expect us to wrap up this week, finalized the PoC next week and start some testing.

Do you guys have a test analytics instance by any chance or should we go ahead and test against the new instance set up by your team and finalize stuff there.

Ahoelzl set the point value for this task to 8.Jan 30 2024, 7:13 PM

For sync meeting updates from 2/20, see project document.
Traffic team is working on configuration management and will be ready for stream production in a few weeks.

gmodena updated the task description. (Show Details)
gmodena added a project: Epic.

Change #1012656 had a related patch set uploaded (by Gmodena; author: Gmodena):

[analytics/refinery@master] hql: webrequest: add webrequest_frontend.

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

gmodena updated the task description. (Show Details)
gmodena updated the task description. (Show Details)

Change #1012656 merged by Gmodena:

[analytics/refinery@master] hql: webrequest: add webrequest_frontend.

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

Ahoelzl updated Other Assignee, added: gmodena; removed: Antoine_Quhen.
Ahoelzl added a subscriber: gmodena.
Ahoelzl triaged this task as High priority.Jan 24 2025, 5:12 PM
Ahoelzl updated the task description. (Show Details)

Change #1114392 had a related patch set uploaded (by Fabfur; author: Fabfur):

[operations/puppet@production] hiera: enable haproxykafka on all datacenters

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

Change #1114415 had a related patch set uploaded (by Fabfur; author: Fabfur):

[operations/puppet@production] hiera: enable haproxykafka on codfw

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

Change #1114417 had a related patch set uploaded (by Fabfur; author: Fabfur):

[operations/puppet@production] hiera: enable haproxykafka on eqiad

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

Change #1114392 abandoned by Fabfur:

[operations/puppet@production] hiera: enable haproxykafka on all datacenters

Reason:

splitted into more specific changes

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

Change #1114415 merged by Fabfur:

[operations/puppet@production] hiera: enable haproxykafka on codfw

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

Change #1114417 merged by Fabfur:

[operations/puppet@production] hiera: enable haproxykafka on eqiad

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

Change #1114728 had a related patch set uploaded (by Fabfur; author: Fabfur):

[operations/puppet@production] hiera: consolidate haproxykafka into common profile

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

Change #1114728 merged by Fabfur:

[operations/puppet@production] hiera: consolidate haproxykafka into common profile

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

JAllemandou closed subtask Restricted Task as Resolved.Feb 10 2025, 4:23 PM

Moved the comment to https://phabricator.wikimedia.org/T382571#10543667 where I should have put it originally.

Change #1128801 had a related patch set uploaded (by Aqu; author: Aqu):

[analytics/refinery/source@master] Refine webrequest - uri_host with trailing dot

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

I’ve created a patch addressing the issue of trailing dots, which can be found here:
https://gerrit.wikimedia.org/r/1128801
While it’s unclear where to attach this merge request, we’ve confirmed that this isn’t a blocker for the migration.

Additionally, we should add a marker for Wikistats at the following location:
https://meta.wikimedia.org/w/index.php?title=Config:Dashiki:Annotations/Wikistats/totalPageViews

The marker details could be as follows:

  • Date: 2025-04-01
  • Title: Switch webrequest source from Varnish to HAProxy
  • Note: We expect limited impact on pageviews

Change #1128801 merged by jenkins-bot:

[analytics/refinery/source@master] Refine webrequest - uri_host with trailing dot

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