I am polling data from multiple sources. The data is dirty which is cleaned up by a multi-threaded Python script. At the end, the script ‘prints’ the data in InfluxDB line protocol. I am using telegraf exec plugin to invoke the script.
I believe ‘print’ calls are costly and wondering if this approach a best practice in a scale environment? Are there any better approaches?
<First post here. Thank you for the great work, asking great questions and those of you who answer them>