feat(health): Health check for Decision engine (#8243)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Sarthak Soni
2025-06-09 12:54:12 +05:30
committed by GitHub
parent 78f1a7d57f
commit 5ab769d116
4 changed files with 53 additions and 0 deletions

View File

@ -12,6 +12,8 @@ pub struct RouterHealthCheckResponse {
pub outgoing_request: bool,
#[cfg(feature = "dynamic_routing")]
pub grpc_health_check: HealthCheckMap,
#[cfg(feature = "dynamic_routing")]
pub decision_engine: bool,
}
impl common_utils::events::ApiEventMetric for RouterHealthCheckResponse {}