X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fprometheus%2Fprometheus.yml;h=fb1e53757ffa7894871b00feaf793a9cbdfc2102;hb=01ccff895787ca94ad37d11cb93f0440a29edd7c;hp=97ac447f19f42ebf5e84f48bf53fd78c6af267e2;hpb=3629611b971950db2ed8a42a8f9578062cd906c6;p=distro-setup diff --git a/filesystem/etc/prometheus/prometheus.yml b/filesystem/etc/prometheus/prometheus.yml index 97ac447..fb1e537 100644 --- a/filesystem/etc/prometheus/prometheus.yml +++ b/filesystem/etc/prometheus/prometheus.yml @@ -1,6 +1,14 @@ # Sample config for Prometheus. global: + + + ## temporary for quickly testing during development. default is 60s + ## for both. + # scrape_interval: 5s + # evaluation_interval: 5s + + # Attach these labels to any time series or alerts when communicating with # external systems (federation, remote storage, Alertmanager). external_labels: @@ -33,6 +41,10 @@ scrape_configs: static_configs: - targets: ['localhost:9093'] + - job_name: simple_node + file_sd_configs: + - files: + - /etc/prometheus/file_sd/simple_node.yml - job_name: node basic_auth: username: prom