Broker metrics refactor#1739
Conversation
|
@nachocano: GitHub didn't allow me to assign the following users: sayanh. Note that only knative 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. DetailsIn 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. |
# Conflicts: # Gopkg.lock
|
@capri-xiyue this refactor should also fix #1423 |
|
@Harwayne this is ready for another look. Thanks for the comments, all made sense! |
|
The following is the coverage report on pkg/.
|
Harwayne
left a comment
There was a problem hiding this comment.
/lgtm
/approve
Letting this submit as-is, because others are going to use it as a template and the only remaining comment is fairly minor and does not affect what will be emulated.
| result := r.filterEventByAttributes(attrs, event) | ||
| resultStr := "fail" | ||
| result := r.filterEventByAttributes(ctx, attrs, event) | ||
| filterResult := failFilter |
There was a problem hiding this comment.
if r.filterEventByAttributes(ctx, attrs, event) {
return passFilter
}
return filterResultEven better is to have filterEventByAttributes return the filterResult.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Harwayne, nachocano The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* Stats reporter refactor * updating lock * updates after code review * go imports
Helps with #1693
Proposed Changes
Release Note