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

feat(inputs/docker): add better user-facing errors for API timeouts #6016

Merged
merged 1 commit into from
Jun 20, 2019

Conversation

goller
Copy link
Contributor

@goller goller commented Jun 20, 2019

Closes #2233

Each client interaction with the Docker server may have a timeout. Rather than return context.DeadlineExceeded as the error, this translates into a more clear error message.

I fixed up various linter problems as well as make the error messages more consistent.

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

@danielnelson danielnelson added this to the 1.12.0 milestone Jun 20, 2019
@danielnelson danielnelson added the feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin label Jun 20, 2019
@danielnelson danielnelson merged commit 80089c7 into master Jun 20, 2019
@danielnelson danielnelson deleted the feat/docker-context-deadline branch June 20, 2019 01:02
bitcharmer pushed a commit to bitcharmer/telegraf that referenced this pull request Oct 18, 2019
athoune pushed a commit to bearstech/telegraf that referenced this pull request Apr 17, 2020
idohalevi pushed a commit to idohalevi/telegraf that referenced this pull request Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Context deadline exceeded error with Docker plugin
2 participants