-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set a timeout for calls to input.Gather
currently the input interface does not have any methods for killing a running Gather call, so there is nothing we can do but log a "FATAL ERROR" and move on. This will at least give some visibility into the plugin that is acting up. Open questions: - should the telegraf process die and exit when this happens? This might be a better idea than leaving around the dead process. - should the input interface have a Kill() method? I suspect not, since most inputs wouldn't have a way of killing themselves anyways. closes #1230
- Loading branch information
Showing
2 changed files
with
30 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters