Enable/gather metrics - latency, memory, cpu, etc.
What
As discussed in profiling approach GET environments provide optional prometheus deployments for exporting observability metrics, for example the 2k testbed metrics dashboard. By comparative monitoring with our environment deployments we should have baseline metrics to compare against.
We need to extract baselines for target architectures and identify the headroom we have to work with.
For example (made up numbers), we use 800/1000mb of memory on a 2k architecture, giving us 200mb of headroom. Bearing that in mind we identify
- addtl memory usage for traffic profiles matching k6 load tests
- thresholds for exceeding usage (presumably we want to stay under, say, 90% utilization)
Tasks
- Pull comparative metrics for GitLab Performance Tool automated reference environments including the following:
- Define target resource constraints
NOTE: All metrics should match traffic profile as documented in Reference Architecture scenarios; i.e. 60s_40rps
for 2k.
Edited by Vishwa Bhat