uselagoon / uselagoon/remote-controller

Build metrics only partially updated

Open
#252 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
5
Forks
2
Avg merge
1d 1h
Merged PRs (30d)
5

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the build metrics definitions and the code that populates lagoon_builds_running_current and lagoon_builds_started_total. Compare those paths with the metrics currently initialized to 0, then identify the missing update points and verify that the additional metrics report live build data rather than remaining at their defaults.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.