Skip to content

b-trendafilov/speedtest_exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Speedtest Exporter for Prometheus in Python

A simple server that scrapes Speedtest and exports them via HTTP for Prometheus consumption.

Run locally

  1. Install dependencies:
pip3 install -r requirement.txt
  1. Run the app
python3 ./src/speedtest_exporter/exporter.py

Run in a Docker containter

  1. Build the docker image
docker build -tag speedtest_exporter .
  1. Run the docker image
docker run -d -p 8000:8000 speedtest_exporter

Configuration

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.

Metrics

  • ping_latency
  • download_bandwith
  • upload_bandwith

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published