diff --git a/src/api/server.rs b/src/api/server.rs index 2fa2ffd..d87c18a 100644 --- a/src/api/server.rs +++ b/src/api/server.rs @@ -556,6 +556,7 @@ struct DetailedHealthResponse { schema: SchemaHealth, identities: IdentityHealth, integrations: IntegrationHealth, + config: ConfigHealth, } #[derive(Debug, Serialize)] @@ -572,6 +573,13 @@ struct IdentityHealth { synced: bool, } +#[derive(Debug, Serialize)] +struct ConfigHealth { + cache_enabled: bool, + auto_pipeline_enabled: bool, + watcher_auto_register_enabled: bool, +} + #[derive(Debug, Serialize)] struct SchemaHealth { table_exists: bool, @@ -849,6 +857,11 @@ async fn health_detailed(State(state): State) -> Json