X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=filesystem%2Fetc%2Fprometheus%2Fprometheus.yml;h=fb1e53757ffa7894871b00feaf793a9cbdfc2102;hb=e7c18f24afd8fdad2ba56030a3b4f83ab8926391;hp=9932335b0dca4ef0d2728047879a5400fd8eab93;hpb=e958999a4ab6fddd723270b596b4899c0811fa41;p=distro-setup diff --git a/filesystem/etc/prometheus/prometheus.yml b/filesystem/etc/prometheus/prometheus.yml index 9932335..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: @@ -29,7 +37,14 @@ scrape_configs: static_configs: - targets: ['localhost:9090'] + - job_name: 'alertmanager' + 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