Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ReviewerAttemptCount is a counter of attempts of reviewing a CL. // We should have: // ReviewerAttemptsCount = ReviewerApprovedCount + ReviewerDeclinedCount + (Count of errors returned by func reviewer) // review_type can be decided by the getReviewType func in reviewer.go. ReviewerAttemptCount = metric.NewCounter( "rubber-stamper/reviewer/attempt", "Counter of attempts of reviewing a CL", nil, field.String("host"), field.String("repo"), field.String("review_type"), ) // ReviewerApprovedCount is a counter of approving a CL. ReviewerApprovedCount = metric.NewCounter( "rubber-stamper/reviewer/approved", "Counter of approving a CL", nil, field.String("host"), field.String("repo"), field.String("review_type"), ) // ReviewerDeclinedCount is a counter of declining a CL. ReviewerDeclinedCount = metric.NewCounter( "rubber-stamper/reviewer/declined", "Counter of declining a CL", nil, field.String("host"), field.String("repo"), field.String("review_type"), ) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.