1234567891011121314151617181920212223 |
- # Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
- module MonitoringHelper
- class HealthChecker
- class Backend
- attr_reader :response
- def initialize
- @response = Response.new
- end
- def check_health
- run_health_check
- response
- end
- protected
- # override in subclass
- def run_health_check; end
- end
- end
- end
|