A small prometheus exporter monitoring your network speed.
The code for speed test checking is copied bv this: speedtest-go
The following command will generate a binary speedtest-exporter which opens a server on port 9100
make
This programs runs a goroutine on the background and a http server on port 8080
exposing the /metrics
path.
speed_test_dl_speed_total{hostname}
- your download speed in MBits
speed_test_ul_speed_total{hostname}
- your upload speed in MBits
speed_test_ping_seconds_total{hostname}
- your upload speed in MBits
MIT