Get Upload/Download, Latency metrics, for use with prometheus
Explore the docs »
Report Bug
·
Request Feature
- Table of Contents
- About The Project
- Getting Started
- Usage
- Roadmap
- Contributing
- License
- Contact
- Acknowledgements
- Python
- Speedtest
- Python
$ pip3 install -r requiments.txt
- Run the script with Python3
$ python3 ./network_latency.py
- Get results
$ curl localhost:8000
- Build the image
$ docker build -t CONTAINER_NAME:vX.Y ./Dockerfile
- To run the container
$ docker run -p 8000:8000/tcp ./CONTAINERNAME:vX.Y
-
Pull image from the command line:
$ docker pull docker.pkg.github.com/stiliajohny/python-prometheus-speedtest/python-prometheus-speedtest:0.0.1aplha
-
Use as base image in DockerFile:
FROM docker.pkg.github.com/stiliajohny/python-prometheus-speedtest/python-prometheus-speedtest:0.0.1aplha
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the GPL-3.0 License. See LICENSE
for more information.
John Stilia - stilia.johny@gmail.com