Page MenuHomePhabricator

Cleanup pybal Prometheus metrics on monitor stop()
Closed, ResolvedPublic

Description

On parent task it became evident that pybal metrics are not removed upon monitor stop()

Event Timeline

Change 844469 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/debs/pybal@1.15] Clean up monitor metrics on stop()

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

Change 845001 had a related patch set uploaded (by Filippo Giunchedi; author: Filippo Giunchedi):

[operations/debs/pybal@1.15] Add 'pybal_server_pooled' metric

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

Change 845001 abandoned by Filippo Giunchedi:

[operations/debs/pybal@1.15] Add 'pybal_server_pooled' metric

Reason:

Given Brandon's point about confusion re: "pool" I'm going to abandon this change for now, it can be restored at any time though

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

Change 844469 merged by Filippo Giunchedi:

[operations/debs/pybal@1.15] Clean up monitor metrics on stop()

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

Change 879839 had a related patch set uploaded (by Ssingh; author: Ssingh):

[operations/debs/pybal@1.15-stretch] Release 1.15.10

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

Change 879839 merged by Ssingh:

[operations/debs/pybal@1.15-stretch] Release 1.15.10

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

Mentioned in SAL (#wikimedia-operations) [2023-01-19T15:30:51Z] <sukhe> reprepro -C main include buster-wikimedia pybal_1.15.10_amd64.changes: T321191

^ For posterity: building pybal on build2001 is broken because of the Python 2 dependency (among others things), so @Muehlenhoff was able to do a local build and that's what we uploaded. Thanks to him!

Mentioned in SAL (#wikimedia-operations) [2023-01-19T15:55:25Z] <sukhe> update pybal to 1.15.10 on lvs4010: T321191

The version of PyBal with the above change (1.15.10) has now been rolled out to all A:lvs:

===== NODE GROUP =====                                                                                                                
(20) lvs[2007-2010].codfw.wmnet,lvs[6001-6003].drmrs.wmnet,lvs[1017-1020].eqiad.wmnet,lvs[5004-5006].eqsin.wmnet,lvs[3005-3007].esams.wmnet,lvs[4008-4010].ulsfo.wmnet                                                                                                      
----- OUTPUT of 'dpkg-query --show pybal' -----                                                                                       
pybal   1.15.10