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

Listen before leaving start in statsd #5628

Merged
merged 1 commit into from
Mar 27, 2019

Conversation

danielnelson
Copy link
Contributor

Don't return from the Start method until plugin is listening, this ensures that we know when the plugin can receive data and also when it is safe to call the Close method.

With great resolve I skipped fixing the off style log messages.

closes #5618

Required for all PRs:

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

@danielnelson danielnelson merged commit 22ab649 into master Mar 27, 2019
@danielnelson danielnelson deleted the statsd-listen-before-exiting-start branch March 27, 2019 01:12
danielnelson added a commit that referenced this pull request Mar 27, 2019
dupondje pushed a commit to dupondje/telegraf that referenced this pull request Apr 22, 2019
hwaastad pushed a commit to hwaastad/telegraf that referenced this pull request Jun 13, 2019
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/statsd fix pr to fix corresponding bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SIGHUP signal handling broken and statsd plugin causes panic if SIGHUP received before statsd is initialized
2 participants