centralised grafana/loki/prometheus monitoring stack
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.
monitoring-lite/prometheus.yml.tmpl

36 lines
862 B

global:
scrape_interval: 30s
evaluation_interval: 30s
alerting:
alertmanagers:
- static_configs:
- targets:
- alertmanager:9093
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets:
- localhost:9090
basic_auth:
username: 'admin'
password: '{{ secret "prometheus_admin_password" }}'
- job_name: 'swarm_demo_node_exporter'
metrics_path: '/node_exporter/metrics'
static_configs:
- targets:
- swarm-demo.gather.autonomic.zone
basic_auth:
username: 'admin'
password: '{{ secret "swarm_demo_admin_password" }}'
- job_name: 'swarm_demo_cadvisor'
metrics_path: '/cadvisor/metrics'
static_configs:
- targets:
- swarm-demo.gather.autonomic.zone
basic_auth:
username: 'admin'
password: '{{ secret "swarm_demo_admin_password" }}'