This commit is contained in:
koh
2025-04-12 15:25:34 +07:00
commit d83f6c1145
38 changed files with 2131 additions and 0 deletions

25
prometheus/prometheus.yml Normal file
View File

@@ -0,0 +1,25 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_timeout: 10s
scrape_configs:
- job_name: 'app'
static_configs:
- targets: ['app:8080']
metrics_path: '/metrics'
scrape_interval: 15s
scrape_timeout: 10s
- job_name: 'mysql'
static_configs:
- targets: ['mysql_bp:3306']
metrics_path: '/metrics'
scrape_interval: 15s
scrape_timeout: 10s
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
scrape_interval: 15s
scrape_timeout: 10s