Open andrewvc opened 3 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello Team,
I am reopening this as it is still needed, we continue to receive reports of these type of errors and we aren't sure on how to proceed as there are multiple reasons that could cause this message.
Hi! We just realized that we haven't looked into this issue in a while. We're sorry!
We're labeling this issue as Stale
to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1
.
Thank you for your contribution!
The warning for tasks that miss their deadline is confusing in https://github.com/elastic/beats/blob/master/heartbeat/scheduler/scheduler.go#L152 . It currently reads:
"%d tasks have missed their schedule deadlines in the last %s."
It's really unclear to users what's going on here (to the point I'm labeling this abug), we should make it more friendly, something like:
%d tasks are running behind schedule (previous run not finished when next one is already due to run).
We also should document troubleshooting this somewhere. There are a number of different potential causes, and it's too much to put in an error message.
In the case of the last point, I'm also wondering if we should just suppress the message, because it's very likely you'll hit this state, but it won't actually be an error.
Additionally, we should consider listing the specific monitors that are in this state to help users debug this issue.