This commit is contained in:
2024-12-06 11:29:37 +01:00
parent ffc6af27e3
commit 68b4fd8d8f
5 changed files with 28 additions and 3 deletions

0
etc/file_sd/.gitkeep Normal file
View File

View File

25
etc/prometheus.yml Normal file
View File

@@ -0,0 +1,25 @@
---
global:
scrape_interval: 1m
scrape_timeout: 10s
evaluation_interval: 1m
remote_write:
remote_read:
rule_files:
alerting:
alertmanagers:
scrape_configs:
- job_name: "prometheus"
static_configs:
- targets:
- "localhost:9090"
- job_name: node
file_sd_configs:
- files:
- /etc/prometheus/file_sd/node/*.yml