Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haproxy version #37

Merged
merged 2 commits into from
Sep 22, 2023
Merged

Conversation

rsevilla87
Copy link
Member

Type of change

  • Refactor
  • New feature
  • Bug fix
  • Optimization
  • Documentation Update

Description

Capturing HAProxy RPM version using rpm -qa | grep haproxy and including it in the metadata:

Related Tickets & Documents

Checklist before requesting a review

  • I have performed a self-review of my code.
  • If it is a core feature, I have added thorough tests.

Testing

Quick example shows:

[                                                                                                                                                                                                                                             
  {                                                                                                                                                                                                                                           
    "uuid": "9ddf05c5-f6ec-410d-bf7c-aa07f5957707",                                                                                                                                                                                           
    "sample": 1,                                                                                                                                                                                                                              
    "config": {                                                                                                                                                                                                                               
      "termination": "http",                                                                                                                                                                                                                  
      "connections": 20,                                                                                                                                                                                                                      
      "samples": 1,                                                                                                                                                                                                                           
      "duration": 10000000000,                                                                                                                                                                                                                
      "path": "/1024.html",                                                                                                                                                                                                                   
      "concurrency": 1,                                                                                                                                                                                                                       
      "procs": 1,                                                                                                                                                                                                                             
      "tool": "wrk",                                                                                                                                                                                                                          
      "serverReplicas": 90,                                                                                                                                                                                                                   
      "tuningPatch": "",                                                                                                                                                                                                                      
      "Delay": 0,                                                                                                                                                                                                                             
      "RequestTimeout": 2000000000                                                                                                                                                                                                            
    },                                                                                                                                                                                                                                        
    "pods": [                                                                                                          
      {                                                                                                                                                                                                                                       
        "pod": "ingress-perf-client-c8d5548c9-s5rgw",                                                                                                                                                                                         
        "node": "ip-10-0-217-162.us-west-2.compute.internal",                                                          
        "instanceType": "m5.2xlarge",                                                                                                                                                                                                         
        "rps": 8234.8,                                                                                                 
        "rps_stdev": 558.69,                                                                                                                                                                                                                  
        "stdev_lat": 1693.48,                                                                                                                                                                                                                 
        "avg_lat_us": 2607.02,                                                                                         
        "max_lat_us": 33100,                                                                                           
        "p90_lat_us": 3930,                                                                                                                                                                                                                   
        "p95_lat_us": 5845,                                                                                                                                                                                                                   
        "p99_lat_us": 10033,                                                                                           
        "http_errors": 0,                                                                                                                                                                                                                     
        "read_errors": 0,                                                                                                                                                                                                                     
        "write_errors": 0,                                                                                             
        "requests": 83167,                                                                                                                                                                                                                    
        "timeouts": 0                                                                                                  
      }                                                                                                                
    ],                                                                                                                                                                                                                                        
    "timestamp": "2023-09-21T10:22:54.989431717Z",                                                                                                                                                                                            
    "total_avg_rps": 8234.8,                                                                                           
    "rps_stdev": 558.69,                                                                                                                                                                                                                      
    "stdev_lat": 1693.48,                                                                                              
    "avg_lat_us": 2607.02,                                                                                                                                                                                                                    
    "max_lat_us": 33100,                                                                                                                                                                                                                      
    "p90_lat_us": 3930,                                                                                                                                                                                                                       
    "p95_lat_us": 5845,                                                                                                
    "p99_lat_us": 10033,                                                                                               
    "http_errors": 0,                                                                                                  
    "read_errors": 0,                                                                                                  
    "write_errors": 0,                                                                                                                                                                                                                        
    "requests": 83167,                                                                                                                                                                                                                        
    "timeouts": 0,                                                                                                                                                                                                                            
    "version": "haproxy-version@4370fc887e1117a3256687ffdeb0224a285461c7",                                                                                                                                                                    
    "platform": "AWS",                                                                                                                                                                                                                        
    "clusterType": "self-managed",                                                                                                                                                                                                            
    "ocpVersion": "4.12.18",                                                                                                                                                                                                                  
    "ocpMajorVersion": "4.12",                                                                                         
    "k8sVersion": "v1.25.8+37a9a08",                                                                                   
    "masterNodesType": "m5.2xlarge",                                                                                                                                                                                                          
    "workerNodesType": "m5.large",      
    "masterNodesCount": 3,                                                                                             
    "infraNodesType": "",                                                                                              
    "workerNodesCount": 5,                                                                                             
    "infraNodesCount": 0,                                                                                              
    "otherNodesCount": 0,        
    "totalNodes": 5,                                                                                                   
    "sdnType": "OpenShiftSDN",                                                                                         
    "clusterName": "cloud-bulldozer-ci-6hwqr",
    "region": "us-west-2",               
    "haproxyVersion": "haproxy22-2.2.24-3.rhaos4.12.el8.x86_64"                                                        
  }                                                                                                                    
] 

@rsevilla87 rsevilla87 force-pushed the haproxy-version branch 2 times, most recently from 4751d12 to f105797 Compare September 21, 2023 10:28
Signed-off-by: Raul Sevilla <[email protected]>
@rsevilla87 rsevilla87 merged commit 00d857b into cloud-bulldozer:main Sep 22, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[RFE] Capture haproxy RPM version
1 participant