collector
collector copied to clipboard
Fix benchmarks and refactor container-stats
Description
This PR removes the container-stats image and uses the docker api to poll CPU and memory utilization for the collector container. I suspect that container-stats stopped working on rhel VMs when we stopped installing docker.
In the process of testing this PR I've reset the existing baseline in the GCP bucket.
Checklist
- [x] Investigated and inspected CI test results
- [ ] Updated documentation accordingly
Automated testing
- [x] Added integration tests
Testing Performed
| VM | Method | Baseline CPU median (%) | Test CPU median (%) | CPU P-value |
|---|---|---|---|---|
| rhel.rhel-8 | core-bpf | 4.61 | 4.77 | :green_circle: |
| rhel.rhel-9 | core-bpf | 5.51 | 5.4 | :green_circle: |
| ubuntu-os.ubuntu-2004-lts | core-bpf | 46.65 | 43.18 | :green_circle: |
| ubuntu-os.ubuntu-2204-lts | core-bpf | 45.54 | 33.22 | :red_circle: |
| VM | Method | Baseline Memory median (MiB) | Test Memory median (MiB) | Memory P-value |
|---|---|---|---|---|
| rhel.rhel-8 | core-bpf | 23.05 | 21.14 | :green_circle: |
| rhel.rhel-9 | core-bpf | 23.12 | 22.41 | :green_circle: |
| ubuntu-os.ubuntu-2004-lts | core-bpf | 46.01 | 45.94 | :green_circle: |
| ubuntu-os.ubuntu-2204-lts | core-bpf | 48.64 | 48.59 | :green_circle: |