Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

speedtest-go-exporter #210

Open
tranmh opened this issue May 10, 2024 · 2 comments
Open

speedtest-go-exporter #210

tranmh opened this issue May 10, 2024 · 2 comments

Comments

@tranmh
Copy link

tranmh commented May 10, 2024

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:

# 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

Thx.

@r3inbowari
Copy link
Collaborator

Hi @tranmh , are you looking for this?

@r3inbowari
Copy link
Collaborator

I start a new fork and call it speedtest-go-exporter?

I think it would be better if you build a new repo and import speedtest-go. The code will be clean and easy to modify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants