Spaces:
Paused
Paused
| # 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 |