-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Conversation
Signed-off-by: rskmm0chang <rskmm0chang@hatena.ne.jp>
There was a problem hiding this 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,
Signed-off-by: rskmm0chang <rskmm0chang@hatena.ne.jp>
Hi, thank you always for your great maintenance work. |
Hey @rskmm0chang, Thank you for your kind words! Can you please add the configurable part as well, including these metrics in values.yaml? |
Thank you for your comment. |
Hey @rskmm0chang, It seems to me that |
Signed-off-by: rskmm0chang <rskmm0chang@hatena.ne.jp>
Hi, thank you for your comments! I updated values.yaml at 4159865 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you for your contribution!
Hi @nikola-jokic, do I need to update my helm release to get the fix? |
Hey @pedrolarios, You need to wait for the next release, which is coming up next week. |
fix: #4053