mirror of
https://github.com/ItsDrike/network-monitor.git
synced 2024-11-13 21:17:16 +00:00
Add more comments to prometheus config
This commit is contained in:
parent
f39c78bab1
commit
db091e3056
|
@ -16,14 +16,14 @@ scrape_configs:
|
||||||
|
|
||||||
- job_name: 'speedtest'
|
- job_name: 'speedtest'
|
||||||
metrics_path: /metrics
|
metrics_path: /metrics
|
||||||
scrape_interval: 30m
|
scrape_interval: 30m # How often should we run speed tests
|
||||||
scrape_timeout: 60s # running speedtest needs time to complete
|
scrape_timeout: 60s # running speedtest needs time to complete
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets: ['speedtest:9798']
|
- targets: ['speedtest:9798']
|
||||||
|
|
||||||
- job_name: 'ping'
|
- job_name: 'ping'
|
||||||
metrics_path: /probe
|
metrics_path: /probe
|
||||||
scrape_interval: 5s
|
scrape_interval: 5s # How often should we probe the pinghosts
|
||||||
params:
|
params:
|
||||||
module: [http_2xx] # Look for a HTTP 200 response.
|
module: [http_2xx] # Look for a HTTP 200 response.
|
||||||
file_sd_configs:
|
file_sd_configs:
|
||||||
|
|
Loading…
Reference in a new issue