How mrak47anand007/health_check_service_script works
Main Components
a) External Services Layer:
• Google Sheets (for data storage/reporting)
• Target Service API (the service being monitored)
• Slack (for notifications)
b) Application Layer:
• Health Check Service (Python script)
• Authentication Module
• Service Status Monitor
c) Infrastructure Layer:
• CircleCI Environment
• Docker Container
At the top level, show the CircleCI environment as a container
• Use a rectangular boundary with the CircleCI logo
For the Health Check Service itself, create three main sections
• Authentication Module (left)
• Service Status Monitor (center)
• Notification Handler (right)
External Services should be positioned outside the CircleCI boundary
• Google Sheets (top)
• Target Service API (right)
• Slack (bottom)
Specific flows
Google Sheets <--> Health Check Service
• ↑ Read/Write operations
Health Check Service --> Authentication Module
• ↑ Handles API authentication
Health Check Service --> Target Service API
• ↑ Status checking
Health Check Service --> Slack
• ↑ Notification sending
Important Details to Capture
• Caching mechanism for dependencies
• Resource class specification (small)
• Periodic execution pattern
• Error handling paths