Skip to content
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 TotalPermanentFailures #25

Merged
merged 5 commits into from
Jun 6, 2019
Merged

Conversation

yigarashi-9
Copy link
Contributor

What

I added TotalPermanetFailures to job queue statistics. Its value is incremented when a job finishes with permanet-failure status.

Why

TotalFailures includes non-critical failures followed by retries. TotalPermanentFailures counts only (probably) critical failures, which is useful for monitoring.

@yigarashi-9 yigarashi-9 self-assigned this Jun 6, 2019
@yigarashi-9
Copy link
Contributor Author

[Help wanted] Build in Travis CI fails at golint with the following error.

fireworq_1  | tee: /dev/stderr: Permission denied

As I can see, there are no other failures. I assume this is a bug of test script, but it is difficult for me to inspect the problem due to lack of knowledge. Can you find a cause of the problem?

github.com/golong/lint/golint is a mirror.
golang.org/x/lint/golint is found in the official README.
@yigarashi-9 yigarashi-9 force-pushed the add-total-permanent-failures-stat branch from d9bd219 to c97c396 Compare June 6, 2019 06:38
Copy link
Member

@tarao tarao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tarao tarao merged commit 4b7e4f0 into master Jun 6, 2019
@tarao tarao deleted the add-total-permanent-failures-stat branch June 6, 2019 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants