A simple server that scrapes Speedtest and exports them via HTTP for Prometheus consumption.
- Install dependencies:
pip3 install -r requirement.txt
- Run the app
python3 ./src/speedtest_exporter/exporter.py
- Build the docker image
docker build -tag speedtest_exporter .
- Run the docker image
docker run -d -p 8000:8000 speedtest_exporter
By default the app will run on port 8000 and scrape metrics every 5 minutes. You can change that by editing the config.yml file. If you change the port make sure to change the docker port when running the container.
- ping_latency
- download_bandwith
- upload_bandwith