Base commit

This commit is contained in:
2025-05-29 08:17:44 +00:00
commit 0b58bd6e2d
27 changed files with 790 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
# ./prometheus/prometheus.yml
global:
scrape_interval: 15s # Default scrape interval
evaluation_interval: 15s # Default evaluation interval
scrape_configs:
- job_name: 'traefik'
static_configs:
- targets: ['traefik:8080'] # This should match the port you set for metrics in Traefik's command
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'cadvisor' # For Docker container metrics
static_configs:
- targets: ['cadvisor:8080']
- job_name: 'node-exporter' # For host system metrics
static_configs:
- targets: ['node-exporter:9100']
- job_name: 'gitea' # For host system metrics
static_configs:
- targets: ['gitea:3000']