🔧 Add Prometheus configuration for PostgreSQL and Redis exporters

This commit is contained in:
BalconyJH
2025-04-09 16:03:05 +08:00
committed by BalconyJH
parent b5f101546a
commit bc2e06a9ec
+12
View File
@@ -0,0 +1,12 @@
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
- job_name: 'postgresql'
static_configs:
- targets: [ 'postgres-exporter:9187' ]
- job_name: 'redis'
static_configs:
- targets: [ 'redis-exporter:9121' ]