Open NelsonMinar opened 1 year ago
Sorry for the delay. I do understand the potential use for that, but at the moment, irtt's limitation of only recording for a fixed time simplifies data collection and analysis. It would require re-working a number of things to do it right, although, it is possible. I'll keep it in mind, but can't commit to doing it at the moment. :)
A speculative question.. Is there any interest in a mode for IRTT where it operates continuously, for monitoring? The tool right now wants to run for N seconds and then print summary stats at the end. I want something that runs continuously, indefinitely, and occasionally emits data suitable for collection in a monitoring system like Grafana.
Right now I'm running the tool for 58 seconds every minute from telegraf, like a cron job. This works OK but it's kind of awkward, it creates discontinuities at the restarts. (And because of telegraf limitations a run has to exit before the next can start.) I'd also appreciate being able to get stats during the 60 second run, like a rolling moving average of median RTT or packet loss. (possibly exponentially weighted.)