pytelegraf
pytelegraf copied to clipboard
Return boolean after send?
https://github.com/paksu/pytelegraf/blob/a5a326bd99902768be2bf10da7dde2dfa165c013/telegraf/client.py#L51
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
@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.