3 scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
4 evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
5 # scrape_timeout is set to the global default (10s).
7 # Alertmanager configuration
14 # Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
17 # - "second_rules.yml"
19 # A scrape configuration containing exactly one endpoint to scrape:
20 # Here it's Prometheus itself.
22 # The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
23 #- job_name: "prometheus"
26 # metrics_path defaults to '/metrics'
27 # scheme defaults to 'http'.
30 - targets: ['localhost:8080']
31 - job_name: prometheus
33 - targets: ['localhost:9090']
36 - targets: ['localhost:9100']
39 - targets: ['localhost:8585']