Skip to content

Add job_workflow_ref label to listener metrics #4054

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

rskmm0chang
Copy link

fix: #4053

Signed-off-by: rskmm0chang <rskmm0chang@hatena.ne.jp>
@Copilot Copilot AI review requested due to automatic review settings April 22, 2025 09:13
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new label for job workflow references to the listener metrics to address issue #4053 by extending the metric dimensions.

  • Added a constant for "job_workflow_ref".
  • Updated the exporter to include the job_workflow_ref from jobBase.
Comments suppressed due to low confidence (1)

cmd/ghalistener/metrics/metrics.go:83

  • Consider adding test coverage to validate that the job_workflow_ref label is correctly mapped in the metrics exporter.
labelKeyJobWorkflowRef: jobBase.JobWorkflowRef,

rskmm0chang and others added 2 commits April 23, 2025 12:08
Signed-off-by: rskmm0chang <rskmm0chang@hatena.ne.jp>

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@rskmm0chang
Copy link
Author

@nikola-jokic

Hi, thank you always for your great maintenance work.
Regarding the job_workflow_ref label that was removed in v0.11.0, we actively use it in our operations for ARC.
I've created a pull request for this. Please let me know if there are any considerations I've missed or if you have any comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request to restore label job_workflow_ref
1 participant