feat: add deep health check for analytics (#3438)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Kartikeya Hegde
2024-01-31 07:31:15 +00:00
committed by GitHub
parent e331d2d556
commit 7597f3b692
21 changed files with 281 additions and 173 deletions

View File

@ -1,6 +1,10 @@
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
pub struct RouterHealthCheckResponse {
pub database: String,
pub redis: String,
pub locker: String,
pub database: bool,
pub redis: bool,
pub locker: bool,
#[cfg(feature = "olap")]
pub analytics: bool,
}
impl common_utils::events::ApiEventMetric for RouterHealthCheckResponse {}