protected function registerHealthChecks(): void 	{ 		if (!$this->app->isProduction() || !setting('monitor_active')) { 			return; 		}  		$monitors = UptimeMonitor::available() 			->get() 			->map(function (UptimeMonitor $monitor): Check { 				return PingCheck::new() 					->method($monitor->method->value) 					->headers(['Accept' => 'application/json']) 					->url($monitor->url) 					->name($monitor->url) 					->label($monitor->url); 			}) 			->all();  		Health::checks([ 			OptimizedAppCheck::new()->label((string) __('monitors.checks.optimized-app')), 			UsedDiskSpaceCheck::new()->label((string) __('monitors.checks.disk')), 			CacheCheck::new()->label((string) __('monitors.checks.cache')), 			DatabaseCheck::new()->label((string) __('monitors.checks.db')), 			DebugModeCheck::new()->label((string) __('monitors.checks.debug')), 			EnvironmentCheck::new()->label((string) __('monitors.checks.env')), 			HorizonCheck::new()->label((string) __('monitors.checks.horizon')), 			RedisCheck::new()->label((string) __('monitors.checks.redis')), 			QueueCheck::new()->label((string) __('monitors.checks.queue')), 			ScheduleCheck::new()->heartbeatMaxAgeInMinutes(2)->label((string) __('monitors.checks.schedule')), 			...$monitors, 		]); 	}