Total Run Time Metrics

Hi,

I am working on trying to handle some metrics for our development team, they are interested in the total run time for the overall job. We currently collect metrics (build, stage times) for the pipelines within the job. Since the pipelines seem to run parallel to each other trying to determine the overall run time from them is difficult. I see the total build time in the upper right hand corner of the job itself. This seems to be a time taken for all pipelines to complete. What is the best practice I can use to access that time per build I can post it as a metric to something like CloudWatch?

https://docs.drone.io/server/metrics/
Lists a lot of overall server statistics.

Thanks!