Bug 2024965

Summary: haproxy_server* metrics disappears when haproxy_exporter_server_threshold limit is exceeded
Product: OpenShift Container Platform Reporter: Simon Belmas-Gauderic <sbelmasg>
Component: NetworkingAssignee: aos-network-edge-staff <aos-network-edge-staff>
Networking sub component: router QA Contact: Hongan Li <hongli>
Status: CLOSED NOTABUG Docs Contact:
Severity: medium    
Priority: unspecified CC: aos-bugs, cholman, macastil
Version: 4.6.z   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-19 20:58:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Simon Belmas-Gauderic 2021-11-19 15:23:46 UTC
Description of problem:
When exceeding haproxy_exporter_server_threshold (500° number of routes, all haproxy_server* metrics are not published anymore by haproxy


OpenShift release version:
* OCP 4.6
* OCP 4.7
* OCP 4.9.5

Cluster Platform:
* BM


How reproducible:
Always

Steps to Reproduce (in detail):
* deploy nginx sample application from catalog
* scrap metrics but using knowledge base article [^1] then grep haproxy_server metrics: `curl -kv -u  {USER}:{PASS} https://10.10.94.3:1936/metrics | grep haproxy_server`
* create 500+ routes : `for i in  $(seq 1 510) ; do echo route $i ; oc expose service nginx-sample --name nginx-sample${i} ; done`

[^1]:https://access.redhat.com/solutions/4998261

Actual results:
haproxy_server* metrics are not exposed

Expected results:
haproxy_server* routes are exposed

Impact of the problem:
impossible to monitor workload

Comment 2 Miciah Dashiel Butler Masters 2022-08-02 16:38:49 UTC
*** Bug 2095357 has been marked as a duplicate of this bug. ***