You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
876 B
46 lines
876 B
---
|
|
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
|
|
external_labels:
|
|
monitor: 'docker-host-alpha'
|
|
|
|
rule_files:
|
|
- "alert.rules"
|
|
|
|
scrape_configs:
|
|
- job_name: 'prometheus'
|
|
scrape_interval: 10s
|
|
static_configs:
|
|
- targets: [ 'localhost:9090' ]
|
|
|
|
- job_name: 'nodeexporter'
|
|
scrape_interval: 5s
|
|
static_configs:
|
|
- targets: [ 'nodeexporter:9100' ]
|
|
|
|
- job_name: 'nginxexporter'
|
|
scrape_interval: 5s
|
|
static_configs:
|
|
- targets: [ 'nginxexporter:9113' ]
|
|
|
|
- job_name: 'cadvisor'
|
|
scrape_interval: 5s
|
|
static_configs:
|
|
- targets: [ 'cadvisor:8080' ]
|
|
|
|
- job_name: 'pushgateway'
|
|
scrape_interval: 10s
|
|
honor_labels: true
|
|
static_configs:
|
|
- targets: [ 'pushgateway:9091' ]
|
|
|
|
|
|
alerting:
|
|
alertmanagers:
|
|
- scheme: http
|
|
static_configs:
|
|
- targets:
|
|
- 'alertmanager:9093'
|
|
...
|