feat: add deep health check for scheduler (#3304)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: dracarys18 <karthikey.hegde@juspay.in>
This commit is contained in:
Chethan Rao
2024-02-01 16:44:13 +05:30
committed by GitHub
parent 7cf6c8c0b9
commit 170e10cb8e
13 changed files with 193 additions and 3 deletions

View File

@ -8,3 +8,10 @@ pub struct RouterHealthCheckResponse {
}
impl common_utils::events::ApiEventMetric for RouterHealthCheckResponse {}
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
pub struct SchedulerHealthCheckResponse {
pub database: bool,
pub redis: bool,
}
impl common_utils::events::ApiEventMetric for SchedulerHealthCheckResponse {}