monitoring/conf/prometheus/prometheus.yml
nyyu 59ffde1062
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
chore: add custom scrape
2025-01-06 08:51:34 +01:00

34 lines
559 B
YAML

global:
scrape_interval: 20s
rule_files:
- alerts/*.yml
alerting:
alertmanagers:
- static_configs:
- targets:
- alertmanager:9093
scrape_config_files:
- scrapes/*.yml
scrape_configs:
- job_name: "prometheus"
scrape_interval: 5s
static_configs:
- targets: [ "localhost:9090" ]
- job_name: "alertmanager"
scrape_interval: 5s
static_configs:
- targets: [ "alertmanager:9093" ]
- job_name: "node"
static_configs:
- targets: [ "node-exporter:9100" ]
- job_name: "cadvisor"
static_configs:
- targets: [ "cadvisor:8080" ]