Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Type of change - [ ] Refactor - [x] 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 - Related Issue # - Closes #36 ## Checklist before requesting a review - [x] I have performed a self-review of my code. - [ ] If it is a core feature, I have added thorough tests. ## Testing Quick example shows: ```json [ { "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@4370fc8", "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" } ] ``` Signed-off-by: Raul Sevilla <[email protected]>
- Loading branch information