I started based on your code but modified in such way that it a Prometheus Exporter.
Are you general interested in such thing and in the code as well or should I start a new fork and call it speedtest-go-exporter?
The output would look like this for my first try:
# HELP speedtest_download_speed_in_mbps Downdload speed in Mbps
# TYPE speedtest_download_speed_in_mbps gauge
speedtest_download_speed_in_mbps 5.594351916401391
# HELP speedtest_ping_jitter_in_ms jitter of ping test in ms
# TYPE speedtest_ping_jitter_in_ms gauge
speedtest_ping_jitter_in_ms 6
# HELP speedtest_ping_latency_in_ms latency of ping test in ms
# TYPE speedtest_ping_latency_in_ms gauge
speedtest_ping_latency_in_ms 38
# HELP speedtest_upload_speed_in_mbps Upload speed in Mbps
# TYPE speedtest_upload_speed_in_mbps gauge
speedtest_upload_speed_in_mbps 8.515543538485655
Hi,
I started based on your code but modified in such way that it a Prometheus Exporter.
Are you general interested in such thing and in the code as well or should I start a new fork and call it speedtest-go-exporter?
The output would look like this for my first try:
Thx.