Prometheus Exporter for speedTest by Ookla.
It is containerized FastAPI based application to periodically perform internet SpeedTest and expose results for Prometheus Server to scrape.
Speedtests are performed in the background based on specified in .env
frequency.
Last speedtest result is available on ./metrics
endpoint.
Additionally there is /runOnDemand
to trigger speedtest execution on demand.
If program could not perform a test it will set all numeric values to 0 and string values to -
Important
/runOnDemand
endpoint can be used withPOST
method only.
Review values in .env
file and set it according to your needs.
docker compose build
to build docker imagedocker compose up -d
to start docker container