First version

This commit is contained in:
2026-03-29 17:39:17 +02:00
parent 59d8fc29ba
commit 6161963327
+5 -1
View File
@@ -1,12 +1,16 @@
global: global:
scrape_interval: 15s scrape_interval: 15s
external_labels:
monitor: 'codelab-monitor'
scrape_configs: scrape_configs:
- job_name: 'node' - job_name: 'prometheus'
scrape_interval: 5s
static_configs: static_configs:
- targets: ['localhost:9090'] - targets: ['localhost:9090']
- job_name: 'cadvisor' - job_name: 'cadvisor'
scrape_interval: 5s
static_configs: static_configs:
- targets: ['cadvisor:8180'] - targets: ['cadvisor:8180']