global: scrape_interval: 1s # High frequency for HFT evaluation_interval: 1s external_labels: environment: 'production' system: 'foxhunt-hft' rule_files: - "alerts/hft-alerts.yml" - "alerts/system-alerts.yml" scrape_configs: # Foxhunt Core Service - Critical Path - job_name: 'foxhunt-core' static_configs: - targets: ['localhost:8080'] scrape_interval: 100ms # Ultra-high frequency for core trading scrape_timeout: 50ms metrics_path: '/metrics' honor_labels: true # Foxhunt TLI - Trading Layer Interface - job_name: 'foxhunt-tli' static_configs: - targets: ['localhost:8081'] scrape_interval: 100ms scrape_timeout: 50ms metrics_path: '/metrics' # Foxhunt ML Services - job_name: 'foxhunt-ml' static_configs: - targets: ['localhost:8082'] scrape_interval: 500ms # Less frequent for ML models scrape_timeout: 200ms metrics_path: '/metrics' # Foxhunt Risk Management - job_name: 'foxhunt-risk' static_configs: - targets: ['localhost:8083'] scrape_interval: 200ms # Critical for risk monitoring scrape_timeout: 100ms metrics_path: '/metrics' # Foxhunt Data Service - job_name: 'foxhunt-data' static_configs: - targets: ['localhost:8084'] scrape_interval: 1s scrape_timeout: 500ms metrics_path: '/metrics' # System Metrics - job_name: 'node-exporter' static_configs: - targets: ['localhost:9100'] scrape_interval: 1s scrape_timeout: 500ms # Process Metrics - job_name: 'process-exporter' static_configs: - targets: ['localhost:9256'] scrape_interval: 2s scrape_timeout: 1s alertmanager: alertmanagers: - static_configs: - targets: ['localhost:9093'] timeout: 10s api_version: v2 # Storage configuration for high-frequency data storage: tsdb: retention.time: 7d retention.size: 50GB wal-compression: true # Remote write for long-term storage (optional) # remote_write: # - url: "http://victoriametrics:8428/api/v1/write" # queue_config: # max_samples_per_send: 10000 # batch_send_deadline: 5s # max_shards: 200