diff --git a/README.md b/README.md index 0cca03d..4a7231b 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Goto [http://localhost:3030/d/o9mIe_Aik/internet-connection](http://localhost:30 To change what hosts you ping you change the `targets` section in [/prometheus/pinghosts.yaml](./prometheus/pinghosts.yaml) file. -For speedtest the only relevant configuration is how often you want the check to happen. It is at 5 minutes by default which might be too much if you have limit on downloads. This is changed by editing `scrape_interval` under `speedtest` in [/prometheus/prometheus.yml](./prometheus/prometheus.yml). +For speedtest the only relevant configuration is how often you want the check to happen. It is at 30 minutes by default which might be too much if you have limit on downloads. This is changed by editing `scrape_interval` under `speedtest` in [/prometheus/prometheus.yml](./prometheus/prometheus.yml). Once configurations are done let's start it up. From the /prometheus project directory run the following command: diff --git a/prometheus/prometheus.yml b/prometheus/prometheus.yml index e4e28f6..1e7ce65 100644 --- a/prometheus/prometheus.yml +++ b/prometheus/prometheus.yml @@ -30,7 +30,7 @@ scrape_configs: - job_name: 'speedtest' metrics_path: /metrics - scrape_interval: 5m + scrape_interval: 30m scrape_timeout: 60s # running speedtest needs time to complete static_configs: - targets: ['speedtest:9798']