edgard / iperf3_exporter

Simple server that probes iPerf3 endpoints and exports results via HTTP for Prometheus consumption
Creative Commons Zero v1.0 Universal
63 stars 26 forks source link

Support reverse mode #8

Open Himura2la opened 4 years ago

Himura2la commented 4 years ago

It would be nice to collect data not only for upload speed, but also for download speed (-R iperf3 parameter)

cooperlees commented 3 years ago

Isn't this iperf3_received_bytes ?

Himura2la commented 3 years ago

It's about adding the ability to pass the -R flag to iperf3. I guess it would require adding а relabel_config like __reverse_mode__ with values true/false with default false

cooperlees commented 3 years ago

Yeah, I was just about to reply. I went and read the code, I see it's NOT. I'd like this too. I might look at trying to do a PR. But I'm a go n00b, but should be able to copy pasta enough and guess.

Himura2la commented 3 years ago

Cool, go on, I can test this ))