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

Return boolean after send? #11

Open
brianleung24 opened this issue Jun 6, 2018 · 1 comment
Open

Return boolean after send? #11

brianleung24 opened this issue Jun 6, 2018 · 1 comment

Comments

@brianleung24
Copy link

# Socket errors should fail silently so they don't affect anything else

Hello developers,

Just wondering can we hv a return value (boolean) in the send() method? Therefore we can at least realise the Telegraf is offline and we can log it our way. Thanks

@chdsbd
Copy link

chdsbd commented Dec 2, 2018

@brianleung24 A return value isn't possible because by sending UDP packets to telegraf, pytelegraf doesn't cannot know if they were received or not. It's "fire-and-forget" with UDP.

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