Skip to content

Add SpeedKetchup to software exposing Prometheus metrics - #3194

Open
gatispei wants to merge 1 commit into
prometheus:mainfrom
gatispei:add-speedketchup
Open

gatispei wants to merge 1 commit into
prometheus:mainfrom
gatispei:add-speedketchup

Conversation

@gatispei

Copy link
Copy Markdown

What changed

docs/instrumenting/exporters.md: add SpeedKetchup to "Software exposing Prometheus metrics", between SkyDNS and Telegraf.

Why

SpeedKetchup is a periodic internet speed tester (GPL-2.0). It runs a speedtest.net test on an interval, keeps the history and shows it on its own web page. It serves the last test at /metrics itself, so no separate exporter is needed. It writes the text format directly, not through a client library, so it is not marked direct.

@RichiH, as the maintainer for this part of the docs.

Sample output

From 0.9.0, with the server and ISP labels replaced by example values:

# HELP speedketchup_build_info Version of speedketchup.
# TYPE speedketchup_build_info gauge
speedketchup_build_info{version="0.9.0"} 1
# HELP speedketchup_tests_total Speed tests run since start.
# TYPE speedketchup_tests_total counter
speedketchup_tests_total 0
# HELP speedketchup_test_failures_total Speed tests that failed since start.
# TYPE speedketchup_test_failures_total counter
speedketchup_test_failures_total 0
# HELP speedketchup_last_test_timestamp_seconds Time the last test finished, failed or not.
# TYPE speedketchup_last_test_timestamp_seconds gauge
speedketchup_last_test_timestamp_seconds 1795180690
# HELP speedketchup_last_success_timestamp_seconds Time the last successful test finished.
# TYPE speedketchup_last_success_timestamp_seconds gauge
speedketchup_last_success_timestamp_seconds 1795180690
# HELP speedketchup_download_bits_per_second Download speed of the last successful test.
# TYPE speedketchup_download_bits_per_second gauge
speedketchup_download_bits_per_second 165000000
# HELP speedketchup_upload_bits_per_second Upload speed of the last successful test.
# TYPE speedketchup_upload_bits_per_second gauge
speedketchup_upload_bits_per_second 45500000
# HELP speedketchup_latency_seconds Latency of the last successful test, idle and while downloading or uploading.
# TYPE speedketchup_latency_seconds gauge
speedketchup_latency_seconds{load="idle"} 0.0962
speedketchup_latency_seconds{load="download"} 0.132
speedketchup_latency_seconds{load="upload"} 0.208
# HELP speedketchup_last_test_info Speedtest server and ISP of the last successful test.
# TYPE speedketchup_last_test_info gauge
speedketchup_last_test_info{server="LIVAS/Riga/Latvia",server_host="speedtest.livas.lv:8080",isp="Tele2"} 1

With several test profiles (e.g. one per WAN) every series also gets a profile label.

I am the author of SpeedKetchup. This PR was prepared with Claude Code.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Gatis Peisenieks <peisenieks@gmail.com>
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

Successfully merging this pull request may close these issues.

1 participant