Base commit
This commit is contained in:
@@ -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']
|
||||
Reference in New Issue
Block a user