Measure CPU time for instrumented methods
Currently we only measure the real time of instrumented methods, we should also measure the CPU time. For this we can use Gitlab::Metrics::System.cpu_time
. Since duration
is already used for the real time the field should be called cpu_duration
. Once added we'll also need to update InfluxDB/Grafana to use this new field.