# Calculating cumulative build times

**URL:** https://drone.discourse.group/t/calculating-cumulative-build-times/9551
**Category:** Drone Support
**Created:** [October 9, 2020, 6:37pm UTC](https://drone.discourse.group/t/calculating-cumulative-build-times/9551 "2020-10-09T18:37:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jcucl](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/jcucl/32/2597_2.png) [@jcucl](https://drone.discourse.group/u/jcucl)
#### Post date: [October 9, 2020, 6:37pm UTC](https://drone.discourse.group/t/calculating-cumulative-build-times/9551/1 "2020-10-09T18:37:18Z")

</div>

Hi there,

I’m interested in finding out, from a reporting/usage perspective, how much time our self hosted drone installation is busy running builds. We have several repos and each has multiple builds per day.

Has anyone done this before and if so how have you done it? What would be a good starting point? The API?

Thanks!

---

<div class="post-metadata">

### Author: ![lizheming](https://yyz1.discourse-cdn.com/flex003/user_avatar/drone.discourse.group/lizheming/32/3688_2.png) [@lizheming](https://drone.discourse.group/u/lizheming)
#### Post date: [October 10, 2020, 1:37am UTC](https://drone.discourse.group/t/calculating-cumulative-build-times/9551/2 "2020-10-10T01:37:47Z")

</div>

Drone has export some data by `<host>/metrics` url for prometheus, maybe can help you [https://docs.drone.io/server/metrics/](https://docs.drone.io/server/metrics/). If it’s not enough for you, you can try to custom metrics.
