fischerX/infra/monitoring/prometheus/prometheus.yml

39 lines
793 B
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
monitor: 'fischerx-monitor'
alerting:
alertmanagers:
- static_configs:
- targets: ['alertmanager:9093']
rule_files:
- "/etc/prometheus/rules/*.yml"
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'node-exporter'
static_configs:
- targets: ['node-exporter:9100']
scrape_interval: 15s
- job_name: 'fischerx-api'
metrics_path: '/metrics'
static_configs:
- targets: ['host.docker.internal:3000']
scrape_interval: 5s
metrics_path: '/metrics'
- job_name: 'loki'
static_configs:
- targets: ['loki:3100']
- job_name: 'jaeger'
static_configs:
- targets: ['jaeger:14269']