uselagoon / remote-controller

A group of controllers for handling Lagoon builds and tasks in Kubernetes or Openshift
5 stars 1 forks source link

Build metrics only partially updated #252

Open anothertobi opened 8 months ago

anothertobi commented 8 months ago

The metrics on builds currently exposed are only partially updated. It would be good to have more metrics updated to extend our monitoring.

Based on the code it looks like only lagoon_builds_running_current and lagoon_builds_started_total are filled with data while the other metrics are just initialized with 0.

shreddedbacon commented 8 months ago

These are not really reliable metrics to use for monitoring and alerting, more visibility. If monitoring and alerting are a requirement, then additional work would need be done to ensure the reliability of these metrics

anothertobi commented 8 months ago

Right now these metrics would be used by platform for visibility only on a Grafana dashboard and not to create alerts. Especially interesting to see would be lagoon_builds_pending_current.