-
Notifications
You must be signed in to change notification settings - Fork 130
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
Add metrics for count chains attestation for issue#1028 #1034
Conversation
Hi @sudhishmk. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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.
/ok-to-test
@sudhishmk Please sign he cla. |
You can call metrics counter here: Line 174 in 592410c
|
The following is the coverage report on the affected files.
|
Please import fake metrics like this: This will ensure that unit tests are passed. |
Add the above line in the import of following files:
|
4bce52b
to
c957c8d
Compare
/test pull-tekton-chains-integration-tests |
The following is the coverage report on the affected files.
|
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.
Overall, this seems reasonable. My main concern here is the amount of log messages being produced when each metric is recorded.
I left various comments on the pipelinerunmetrics which also apply to the taskrunmetrics.
03c6ca7
to
4d53955
Compare
The following is the coverage report on the affected files.
|
@khrm, I see some comments have not yet been addressed. (GitHub collapsed some of them. You'll have to click on "Load more") |
It was Holiday in India today. That's why @sudhishmk didn't get time I think. Sudhish, please address them. |
The following is the coverage report on the affected files.
|
890253f
to
b69a421
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lcarva 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 |
/lgtm |
Hi @sudhishmk 👋 Is it possible to update metrics doc https://github.com/tektoncd/chains/blob/main/docs/metrics.md so that we will have all the details of the metrics which chains support today |
Sure, will do that. |
Created PR for docs. |
Changes -: Work In Progress
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
Release Notes