Files
portalweb-api/monitoring/prometheus/prometheus.yml
2025-04-03 16:43:30 -03:00

28 lines
560 B
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_timeout: 10s
alerting:
alertmanagers:
- static_configs:
- targets:
- alertmanager:9093
rule_files:
- "rules/*.yml"
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'api-portaljuru'
metrics_path: '/metrics'
scrape_interval: 10s
static_configs:
- targets: ['host.docker.internal:8066']
- job_name: 'node-exporter'
static_configs:
- targets: ['node-exporter:9100']