Hi there,
I am new with Telegraf and InfluxDB but I think I understood the basic concepts of both.
My problem is now, that I have to write MQTT messages containing metrics instant to influxdb.
The default interval and flush_interval is 10s both, while jitter is 0s, so in the worst case, data is written 10s after reception. I tuned both intervalls to 10ms and now it almost ‘feels’ like real time, but CPU usage gets rather high and with every flush i see the warning “Skipping a scheduled flush because there is already a flush ongoing.” multiple times.
I have to write the data as fast as possible to influxdb!
Is there a way to configure telegraf so that it doesn’t follow the collect and flush principle so much but even more the way MQTT works?
I am thinking about throwing away MQTT and writing my data directly via http to influxdb, but http as a protocol has so many disadvantages compared to MQTT in this use case.
BTW: What happened to the integration of SurgeMQ?
Many Thanks!