ocurrent / docker-base-images

Generate various Docker ocaml images
https://images.ci.ocaml.org
MIT License
29 stars 19 forks source link

Add Prometheus metrics for time of last and next image builds #261

Closed benmandrew closed 1 year ago

benmandrew commented 1 year ago

This PR adds Prometheus metrics that support showing when the images were last built, and when they will be rebuilt. The two added metrics are the last build time and the time between builds, from which the next build time can be calculated.

This requires two features:

Example Grafana output:

Screenshot 2023-11-16 at 17 10 50