Prometheus exporter that helps in collecting various metadata and other information from GoCD and exposes it as metrics.
This interacts with GoCD server's api to collect metrics, also monitors pipeline directories specified when deployed in GoCD server.
It schedules both metric collections from GoCD server and pipeline size as cron to reduce resource spike when /metrics is invoked.
Most importantly disk check is an expensive operation which can spike resource consumption, by doing this way load on the platform exporter is running can be reduced.
Project: https://github.com/nikhilsbhat/gocd-prometheus-exporter
Document: https://github.com/nikhilsbhat/gocd-prometheus-exporter#readme