1 # Sample config for Prometheus.
6 ## temporary for quickly testing during development. default is 60s
9 # evaluation_interval: 5s
12 # Attach these labels to any time series or alerts when communicating with
13 # external systems (federation, remote storage, Alertmanager).
17 # Alertmanager configuration
21 - targets: ['localhost:9093']
23 # Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
25 - /etc/prometheus/rules/*.yml
27 # - "second_rules.yml"
29 # A scrape configuration containing exactly one endpoint to scrape:
30 # Here it's Prometheus itself.
32 # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
33 - job_name: 'prometheus'
35 # metrics_path defaults to '/metrics'
36 # scheme defaults to 'http'.
39 - targets: ['localhost:9090']
40 - job_name: 'alertmanager'
42 - targets: ['localhost:9093']
44 - job_name: simple_node
47 - /etc/prometheus/file_sd/simple_node.yml
51 password_file: /etc/prometheus-pass
54 - /etc/prometheus/file_sd/node.yml
59 password_file: /etc/prometheus-pass
62 - /etc/prometheus/file_sd/tlsnode.yml