Enhance monitoring configuration by adding status update interval and alert delays for CPU, RAM, and disk metrics. Update Makefile to include dependency checks for testing, and modify requirements to include requests library. Refactor message sender and metrics collector for improved logging and alert handling.
This commit is contained in:
@@ -44,10 +44,8 @@ def main():
|
||||
|
||||
# Проверяем статус процессов
|
||||
print("\n🤖 Проверка статуса процессов...")
|
||||
voice_status, voice_uptime = monitor.check_process_status('voice_bot')
|
||||
helper_status, helper_uptime = monitor.check_process_status('helper_bot')
|
||||
|
||||
print(f" Voice Bot: {voice_status} - {voice_uptime}")
|
||||
print(f" Helper Bot: {helper_status} - {helper_uptime}")
|
||||
|
||||
# Получаем метрики для Prometheus
|
||||
|
||||
Reference in New Issue
Block a user