Files
prod/env.template

24 lines
778 B
Plaintext

# Telegram Bot Configuration
TELEGRAM_MONITORING_BOT_TOKEN=your_bot_token_here
GROUP_MONITORING_FOR_LOGS=your_telegram_group_id_here
IMPORTANT_MONITORING_LOGS=your_important_logs_channel_id_here
# Monitoring Configuration
THRESHOLD=80.0
RECOVERY_THRESHOLD=75.0
# Status Update Configuration
STATUS_UPDATE_INTERVAL_MINUTES=2 # Интервал отправки статуса в минутах
# Alert Delays (in seconds) - prevent false positives from temporary spikes
CPU_ALERT_DELAY=30 # CPU alert delay: 30 seconds
RAM_ALERT_DELAY=45 # RAM alert delay: 45 seconds
DISK_ALERT_DELAY=60 # Disk alert delay: 60 seconds
# Prometheus Configuration
PROMETHEUS_RETENTION_DAYS=30
# Grafana Configuration
GRAFANA_ADMIN_USER=admin
GRAFANA_ADMIN_PASSWORD=admin