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

alerts failed: context canceled & context deadline exceeded #346

Closed
wkshare opened this issue May 10, 2016 · 4 comments
Closed

alerts failed: context canceled & context deadline exceeded #346

wkshare opened this issue May 10, 2016 · 4 comments

Comments

@wkshare
Copy link

wkshare commented May 10, 2016

time="2016-05-10T14:06:36+08:00" level=error msg="Error on notify: context canceled" source="notify.go:152" 
time="2016-05-10T14:06:36+08:00" level=error msg="Notify for 3336 alerts failed: context canceled" source="dispatch.go:238" 
time="2016-05-10T14:09:22+08:00" level=error msg="Error on notify: context deadline exceeded" source="notify.go:152" 
time="2016-05-10T14:09:22+08:00" level=error msg="Notify for 3331 alerts failed: context deadline exceeded" source="dispatch.go:238"

rate(prometheus_notifications_sent_total[1m])
= 3 alerts / sec

What is the reason???

@brian-brazil
Copy link
Contributor

Which receiver are you trying to use? It seems to be timing out on the other end.

@wkshare
Copy link
Author

wkshare commented May 11, 2016

Configuration of the SMTP mail, using the mailgun.

May be the SMTP timeout?

@brian-brazil

@brian-brazil
Copy link
Contributor

That sounds like a SMTP timeout. With so many alerts the notification may be big enough to be causing issues.

@wkshare
Copy link
Author

wkshare commented May 17, 2016

i got. @brian-brazil

smtp timeout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants