# Prometheus configuration for BUH Bot monitoring global: scrape_interval: 15s evaluation_interval: 15s external_labels: cluster: 'buh_bot_production' environment: 'production' # Alerting configuration alerting: alertmanagers: - static_configs: - targets: [] # Scrape configurations scrape_configs: # Prometheus self-monitoring - job_name: 'prometheus' static_configs: - targets: ['localhost:9090'] # Node Exporter (host metrics) - job_name: 'node_exporter' static_configs: - targets: ['node_exporter:9100'] labels: instance: 'host' # cAdvisor (container metrics) - job_name: 'cadvisor' static_configs: - targets: ['cadvisor:8080'] labels: instance: 'containers' # Docker daemon metrics (если включено) # - job_name: 'docker' # static_configs: # - targets: ['host.docker.internal:9323'] # BUH Bot metrics (если бот экспортирует метрики) # - job_name: 'buh_bot' # static_configs: # - targets: ['buh_bot:8000'] # labels: # service: 'telegram_bot'