Spaces:
Paused
Paused
File size: 1,190 Bytes
fb867c3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | # Prometheus configuration for Felix Framework monitoring
global:
scrape_interval: 15s
evaluation_interval: 15s
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
scrape_configs:
# Felix Framework application metrics
- job_name: 'felix-framework'
static_configs:
- targets: ['felix-app:7860']
scrape_interval: 10s
metrics_path: '/api/v1/metrics'
scheme: http
# System metrics via node_exporter (if available)
- job_name: 'node'
static_configs:
- targets: ['localhost:9100']
scrape_interval: 30s
# Nginx metrics (if nginx-prometheus-exporter is available)
- job_name: 'nginx'
static_configs:
- targets: ['nginx:9113']
scrape_interval: 30s
# Redis metrics (if redis_exporter is available)
- job_name: 'redis'
static_configs:
- targets: ['redis:9121']
scrape_interval: 30s
# Self-monitoring
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
# Alerting configuration
alerting:
alertmanagers:
- static_configs:
- targets:
# - alertmanager:9093
# Storage configuration
storage:
tsdb:
retention.time: 15d
retention.size: 10GB |