docker_TP/TP5-6/prometheus/prometheus.yml

19 lines
360 B
YAML
Raw Permalink Normal View History

2024-03-19 23:08:54 +01:00
global:
scrape_interval: 1m
evaluation_interval: 1m
scrape_configs:
- job_name: 'prometheus'
scrape_interval: 1m
static_configs:
- targets: ['localhost:9090']
- job_name: 'node'
static_configs:
- targets: ['node-exporter:9100']
- job_name: 'cadvisor'
static_configs:
- targets: ['cadvisor:8080']