[loop-generated] [refactor] Split monitor.py — 660 lines, hermes infrastructure monitoring #1453

Closed
opened 2026-03-24 18:56:29 +00:00 by Timmy · 0 comments
Owner

Problem

src/infrastructure/hermes/monitor.py is 660 lines combining health checks, metrics collection, and alerting.

Proposed Split

  1. Extract health checks into src/infrastructure/hermes/health_checks.py
  2. Extract metrics into src/infrastructure/hermes/metrics.py
  3. Extract alerting into src/infrastructure/hermes/alerting.py
  4. Keep thin orchestrator

Acceptance Criteria

  • No single module > 300 lines
  • All existing tests pass
## Problem `src/infrastructure/hermes/monitor.py` is 660 lines combining health checks, metrics collection, and alerting. ## Proposed Split 1. Extract health checks into `src/infrastructure/hermes/health_checks.py` 2. Extract metrics into `src/infrastructure/hermes/metrics.py` 3. Extract alerting into `src/infrastructure/hermes/alerting.py` 4. Keep thin orchestrator ## Acceptance Criteria - No single module > 300 lines - All existing tests pass
Timmy closed this issue 2026-03-24 21:53:59 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#1453