Skip to content

Roland Environment Monitoring

Overview

Roland's Environment Monitoring service performs async HTTP health checks against shared infrastructure environments (AWS EC2 instances, dev/test/prod/collab servers). Results are surfaced via Slack dashboards with health status classification.

Health States

  • healthy -- Endpoint responded successfully
  • degraded -- Endpoint responded but with errors or slow response
  • unreachable -- Endpoint did not respond
  • unknown -- Not yet checked

Configuration

Environments are defined in config/environments.yaml with optional overrides via ROLAND_MONITOR_{NAME}_URL environment variables.

Key Code Paths

File Purpose
src/services/environment_monitoring_service.py Async health check orchestration
src/handlers/environment_command_handler.py /roland monitor Slack commands
config/environments.yaml Environment endpoint definitions

Slack Commands

  • /roland monitor status -- Dashboard of all environment health
  • /roland monitor check <name> -- Detailed check for one environment
  • /roland monitor list -- List configured environments