Skip to content

Gauge metrics missing repository and enterprise label values #4304

Open

Description

@jgutierrezglez

Description

I’ve noticed that all gauges metric are not populating the repository and enterprise label

In contrast, the gha_started_jobs_total and gha_completed_jobs_total counters do populate the repository label as expected. This inconsistency makes it hard to correlate job lifecycle metrics with current runner state.

  • gha_running_jobs labels: [name, namespace, repository, organization, enterprise]
  • Actual populated fields: name, namespace, and organization repository and enterprise remain empty (e.g., repository="", enterprise="")

Expected behavior:

The repository label should be populated for jobs running from repository-level runners, similar to how it appears in gha_started_jobs_total.

Request / question

Can you confirm whether this is the expected behavior is a bug/limitation in how repository context is passed to gauges?
If expected, is there a recommended configuration or update that would allow repository-level context to appear in the guages metric?

Regards,

Javier G.

Activity

  1. added
    enhancement
    needs triage
    community
    on Nov 6, 2025
  2. gilfthde commented on Feb 6, 2026

    @gilfthde

    Hello, I have the same issue here. I've deployed my scale sets with the listenerMetrics example from Helm chart values but the pods don't export them.

  3. nimjor commented on Apr 3, 2026

    @nimjor

    same here, @nikola-jokic this one needs some attention from the GitHub team, either to fix the bug or to remove it from the scale set chart values.yaml commented-out examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    communityenhancementneeds triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions