21 lines
520 B
YAML
21 lines
520 B
YAML
global:
|
|
scrape_interval: 15s
|
|
|
|
scrape_configs:
|
|
- job_name: 'prometheus'
|
|
static_configs:
|
|
- targets: ['localhost:9090']
|
|
|
|
- job_name: 'cadvisor'
|
|
static_configs:
|
|
- targets: ['cadvisor:8080']
|
|
|
|
# If we had Node Exporter (for host metrics):
|
|
# - job_name: 'node_exporter'
|
|
# static_configs:
|
|
# - targets: ['node-exporter:9100']
|
|
|
|
# If the app exposes metrics (e.g. Flask/Gunicorn with prometheus_client)
|
|
# - job_name: 'rss2_web'
|
|
# static_configs:
|
|
# - targets: ['rss2_web:8000']
|