pub fn insert_component(
        &self,
        health_check: ReactiveHealthCheck,
    ) -> Result<(), AppHealthCheckError> {
        self.insert_custom_component(Arc::new(health_check))
    }
Inserts health check for a component.

# Errors

Returns an error if the component with the same name is already defined.
core/lib/health_check/src/lib.rs