Use default port for speedtest-exporter.
This commit is contained in:
parent
afb3647ba6
commit
be6c2a9c3c
|
@ -1,6 +1,6 @@
|
||||||
# A Docker Stack which Monitors your home network
|
# A Docker Stack which Monitors your home network
|
||||||
|
|
||||||
> This repository is a fork from [maxandersen/internet-monitoring](https://github.com/maxandersen/internet-monitoring), tailored for use on a Raspberry Pi.
|
> This repository is a fork from [maxandersen/internet-monitoring](https://github.com/maxandersen/internet-monitoring), tailored for use on a Raspberry Pi. It has only been tested on a Raspberry Pi 4 running Pi OS 64-bit beta.
|
||||||
|
|
||||||
Here's a quick start to stand-up a Docker [Prometheus](http://prometheus.io/) stack containing Prometheus, Grafana with [blackbox-exporter](https://github.com/prometheus/blackbox_exporter) and [speedtest-exporter](https://github.com/stefanwalther/speedtest-exporter) to collect and graph home network connections and speed.
|
Here's a quick start to stand-up a Docker [Prometheus](http://prometheus.io/) stack containing Prometheus, Grafana with [blackbox-exporter](https://github.com/prometheus/blackbox_exporter) and [speedtest-exporter](https://github.com/stefanwalther/speedtest-exporter) to collect and graph home network connections and speed.
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ http://localhost:9090/graph?g0.expr=probe_http_status_code&g0.tab=1 shows promet
|
||||||
|
|
||||||
http://localhost:9115 blackbox exporter endpoint. Lets you see what have failed/succeded.
|
http://localhost:9115 blackbox exporter endpoint. Lets you see what have failed/succeded.
|
||||||
|
|
||||||
http://localhost:9800/metrics speedtest exporter endpoint. Does take about 30 seconds to show its result as it runs an actual speedtest when requested.
|
http://localhost:9798/metrics speedtest exporter endpoint. Does take about 30 seconds to show its result as it runs an actual speedtest when requested.
|
||||||
|
|
||||||
## Thanks and a disclaimer
|
## Thanks and a disclaimer
|
||||||
|
|
||||||
|
|
|
@ -61,9 +61,9 @@ services:
|
||||||
tty: true
|
tty: true
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
expose:
|
expose:
|
||||||
- 9800
|
- 9798
|
||||||
ports:
|
ports:
|
||||||
- 9800:9800
|
- 9798:9798
|
||||||
image: miguelndecarvalho/speedtest-exporter
|
image: miguelndecarvalho/speedtest-exporter
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
|
|
|
@ -33,7 +33,7 @@ scrape_configs:
|
||||||
scrape_interval: 15m
|
scrape_interval: 15m
|
||||||
scrape_timeout: 60s # running speedtest needs time to complete
|
scrape_timeout: 60s # running speedtest needs time to complete
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['speedtest:9800']
|
- targets: ['speedtest:9798']
|
||||||
|
|
||||||
- job_name: 'ping'
|
- job_name: 'ping'
|
||||||
metrics_path: /probe
|
metrics_path: /probe
|
||||||
|
|
Loading…
Reference in New Issue