25 lines
553 B
YAML
25 lines
553 B
YAML
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
|
|
scrape_configs:
|
|
- job_name: node
|
|
static_configs:
|
|
- targets: ['node-exporter:9100']
|
|
|
|
- job_name: cadvisor
|
|
static_configs:
|
|
- targets: ['cadvisor:8080']
|
|
|
|
- job_name: spring-boot
|
|
metrics_path: /actuator/prometheus
|
|
static_configs:
|
|
# Uses the Docker service name (not container_name) for reliable DNS resolution.
|
|
- targets: ['backend:8081']
|
|
|
|
- job_name: ocr-service
|
|
metrics_path: /metrics
|
|
static_configs:
|
|
- targets: ['ocr-service:8000']
|
|
|