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

Add support for health checks #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add support for health checks #35

wants to merge 1 commit into from

Conversation

kasperg
Copy link
Contributor

@kasperg kasperg commented Jan 2, 2024

Use the https://github.com/ans-group/laravel-health-check package to add support for health checks. This is useful when adding external monitoring of the application.

The package used is somewhat popular, has explicit support for Lumen and the somewhat old PHP version that we use.

The default configuration checks that we have acces to the database, a working logging system and whatever environment variables that we need. Tests show that it returns uncacheable response headers by default.

That should be sufficient for an initial version of us.

Use the https://github.com/ans-group/laravel-health-check package to add
support for health checks. This is useful when adding external 
monitoring of the application.

The package used is somewhat popular, has explicit support for Lumen and
the somewhat old PHP version that we use.

The default configuration checks that we have acces to the database, a
working logging system and whatever environment variables that we need.
Tests show that it returns uncacheable response headers by default. 

That should be sufficient for an initial version of us.
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (e6883ab) 97.61% compared to head (ea6281e) 97.61%.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #35   +/-   ##
=========================================
  Coverage     97.61%   97.61%           
  Complexity       42       42           
=========================================
  Files             6        6           
  Lines           126      126           
=========================================
  Hits            123      123           
  Misses            3        3           
Flag Coverage Δ
Behaviour 94.44% <ø> (ø)
Unit 46.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants