-
-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from MiguelNdeCarvalho/docs
Update Docs
- Loading branch information
Showing
1 changed file
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,37 @@ | ||
# speedtest-exporter | ||
# Speedtest Exporter | ||
|
||
## Description | ||
|
||
This is a simple **speedtest exporter** for **Prometheus** written in **Python** | ||
|
||
## Running the Container | ||
|
||
To run the container via **CLI**: | ||
|
||
```bash | ||
docker run -d \ | ||
--name=speedtest-exporter \ | ||
-p 9112:9112 \ | ||
--restart unless-stopped \ | ||
miguelndecarvalho/speedtest-exporter | ||
``` | ||
|
||
Via **docker-compose**: | ||
|
||
```docker-compose | ||
version: "3.0" | ||
services: | ||
speedtest-exporter: | ||
image: miguelndecarvalho/speedtest-exporter | ||
container_name: speedtest-exporter | ||
ports: | ||
- 9112:9112 | ||
restart: unless-stopped | ||
``` | ||
|
||
Then just acess the page `http://localhost:9112/` and you will have the metrics. | ||
|
||
## TO Do List | ||
|
||
- [ ] Add option to choose **Server ID** | ||
- [ ] Add option to choose the interval |