Page MenuHomePhabricator

Pull toolviews data from Kubernetes HAProxy or ingress-nginx instead of the front nginx
Closed, ResolvedPublic

Description

Design and implement toolviews changes to support running at ingress-nginx level instead of the front dynamicproxy

Event Timeline

I wonder if we could do this based on Prometheus metrics created by ingress-nginx, instead of having to read and parse access logs

In T284558#7142228, @Majavah wrote:

I wonder if we could do this based on Prometheus metrics created by ingress-nginx, instead of having to read and parse access logs

We likely could if the grid services are going through service objects like you are implementing.

Change 699485 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] toolforge:toolviews: Allow disabling toolviews in hiera

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

nskaggs moved this task from Backlog to In Progress on the Toolforge board.

Change 699485 merged by David Caro:

[operations/puppet@production] toolforge:toolviews: Allow disabling toolviews in hiera

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

taavi renamed this task from Add toolviews support for Kubernetes ingress-nginx to Pull toolviews data from Kubernetes HAProxy or ingress-nginx instead of the front nginx.Jan 24 2024, 1:55 PM

Change #1194895 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] haproxy: Remove separate cloud::base class

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

Change #1194895 merged by Majavah:

[operations/puppet@production] haproxy: Remove separate cloud::base class

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

Change #1195656 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] P:toolforge::k8s::haproxy: Log all requests

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

Change #1195657 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] P:toolforge::k8s::haproxy: Include host header in access log

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

Change #1195656 merged by Majavah:

[operations/puppet@production] P:toolforge::k8s::haproxy: Log all requests

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

Change #1195657 merged by Majavah:

[operations/puppet@production] P:toolforge::k8s::haproxy: Include host header in access log

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

Change #1197242 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] toolforge: toolviews: Move nginx-specific parts to nginx profile

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

Change #1197243 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] toolforge: toolviews: Add initial HAProxy support

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

Change #1197242 merged by Majavah:

[operations/puppet@production] toolforge: toolviews: Move nginx-specific parts to nginx profile

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

Change #1197243 merged by Majavah:

[operations/puppet@production] toolforge: toolviews: Add initial HAProxy support

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

Change #1197270 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] toolforge: toolviews: Fix parsing HAProxy logs

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

Change #1197270 merged by Majavah:

[operations/puppet@production] toolforge: toolviews: Fix parsing HAProxy logs

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

Mentioned in SAL (#wikimedia-cloud) [2025-10-20T16:31:42Z] <taavi> make logrotate run hourly on haproxy nodes T284558

Change #1197308 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] P:toolforge: Move toolviews processing to HAProxy

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

Change #1197308 merged by Majavah:

[operations/puppet@production] P:toolforge: Move toolviews processing to HAProxy

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

Change #1198045 had a related patch set uploaded (by Majavah; author: Majavah):

[operations/puppet@production] toolforge: toolviews: Drop nginx support

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

Change #1198045 merged by Majavah:

[operations/puppet@production] toolforge: toolviews: Drop nginx support

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