Skip to content

Conversation

khrm
Copy link
Contributor

@khrm khrm commented Aug 9, 2021

Cancel pipelinerun metrics are being shown as failed pipelinerun
in metrics stack. In this change, Separate out cancelled pipelinerun
from failed pipelinerun

Changes to be committed:

Changes

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Docs included if any changes are user facing
  • Tests included if any functionality added or changed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including
    functionality, content, code)
  • Release notes block below has been filled in or deleted (only if no user facing changes)

Release Notes

Add Cancelled Pipelinerun metrics

@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Aug 9, 2021
@tekton-robot tekton-robot requested review from imjasonh and jerop August 9, 2021 10:03
@tekton-robot tekton-robot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Aug 9, 2021
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/reconciler/pipelinerun/metrics.go 84.7% 83.6% -1.1

@khrm
Copy link
Contributor Author

khrm commented Aug 10, 2021

/kind feature

@tekton-robot tekton-robot added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 10, 2021
@khrm
Copy link
Contributor Author

khrm commented Aug 10, 2021

/test check-pr-has-kind-label

@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 10, 2021
Cancel pipelinerun metrics are being shown as failed pipelinerun
in metrics stack. In this change, we separate out cancelled
pipelinerun from failed pipelinerun.

 # Changes to be committed:
@tekton-robot
Copy link
Collaborator

The following is the coverage report on the affected files.
Say /test pull-tekton-pipeline-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/reconciler/pipelinerun/metrics.go 84.7% 85.2% 0.5

@pritidesai
Copy link
Member

thank you @khrm for resolving my concerns 🙏
/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Aug 12, 2021
@tekton-robot tekton-robot merged commit 841db12 into tektoncd:main Aug 12, 2021
@khrm khrm deleted the cancel branch February 28, 2023 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/feature Categorizes issue or PR as related to a new feature. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants