Conversation
|
Also consider to update the method |
Resolve "telegraf reports "host" tag as ":20000"" Closes nokia#4 See merge request skhalavchuk/twampy!11
|
HI @TekunoKage, thank you for spotting this and providing this PR. Indeed clock() has been deprecated and removed in the latest Python versions, so it requires an update of the Python script. Could you please review your change again? From my understanding perf_counter() is the new approach for high-resolution timestamps which is supposed to be platform independent. So ideally, I would ask you to apply your change in a way it works for all supported platforms. If you don't have cycles, please let me know and I will give my own twist to apply this change. Thx! |
Fixed back December. Please ensure to either raise a PR or to highlight your issues as dedicated issue. |
Change from .clock() to .perf_counter()