Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Idea: add health check to admin #1410

Closed
greatislander opened this issue Dec 13, 2022 · 1 comment · Fixed by #2375
Closed

Idea: add health check to admin #1410

greatislander opened this issue Dec 13, 2022 · 1 comment · Fixed by #2375
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@greatislander
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

It might be beneficial as the site moves towards launch to integrate this: https://github.com/shuvroroy/filament-spatie-laravel-health

@jobara
Copy link
Collaborator

jobara commented Nov 7, 2024

Laravel 11 comes with a simple up endpoint that can be used to check for health. It doesn't include all of the features that spatie's does, but it might be enough. Note though that the migration from laravel 10 to 11 doesn't include the endpoint configuration, but it can be manually added creating our own route and controller. The controller can call Event::dispatch(new DiagnosingHealth); to allow for hooking into the health diagnostics and return a view. The view can be based off of https://github.com/laravel/framework/blob/ca0617aeee70d5e69d7ce7f299af4d1c945cc32c/src/Illuminate/Foundation/resources/health-up.blade.php#L4

@jobara jobara modified the milestones: 1.5.0, 1.6.0 Nov 7, 2024
@greatislander greatislander moved this from Todo to In Progress in Public Launch Dec 1, 2024
@greatislander greatislander self-assigned this Dec 1, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Public Launch Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
2 participants