-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[release-v1.0.x] fix: exclude pending PipelineRuns from tekton_pipelines_controller_running_pipelineruns
metric
#8979
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
…nning_pipelineruns metric The running_pipelineruns metric incorrectly counted pending PipelineRuns as running. Add !pr.IsPending() check to exclude them. Fixes tektoncd#8949 Signed-off-by: divyansh42 <[email protected]>
@tekton-robot: GitHub didn't allow me to assign the following users: divyansh42. Note that only tektoncd members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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
The following is the coverage report on the affected files.
|
/retest |
1 similar comment
/retest |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: waveywaves The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This is an automated cherry-pick of #8951
/assign divyansh42