aboutsummaryrefslogtreecommitdiffstats
path: root/roles/prometheus/templates/prometheus.conf.j2
blob: 7402dd240f2b11bf93b5b74a20821df73f68a31b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# managed by Ansible

global:
  scrape_interval:     15s
  evaluation_interval: 15s

alerting:
  alertmanagers:
  - static_configs:
    - targets:

rule_files:

scrape_configs:
  - job_name: "prometheus"
    static_configs:
    - targets: ["127.0.0.1:9090"]
  - job_name: "node_exporter"
    scrape_interval: 5s
    static_configs:
    - targets: ["127.0.0.1:9100"]
remember that computers suck.