markup / status-bundle
Installs: 13 110
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 5
Forks: 0
Open Issues: 1
Type:symfony-bundle
Requires
- php: >=7.1
- doctrine/common: ^2.7
- psr/log: ^1.0
Requires (Dev)
- mockery/mockery: ^0.9.9
- phpmd/phpmd: ^2.4
- phpstan/phpstan: ^0.6
- phpunit/phpunit: ^5.6
- predis/predis: ^1.0
- squizlabs/php_codesniffer: 3.0.0RC4
- symfony/browser-kit: ^3.2
- symfony/framework-bundle: ^2.8|^3.2
- symfony/phpunit-bridge: ^3.2
This package is auto-updated.
Last update: 2024-10-10 06:07:21 UTC
README
https://packagist.org/packages/markup/status-bundle
Allows for 'checks' to be created to ensure services are working e.g. redis, mysql & rabbitmq. The configuration allows for groups of checks to be performed by a runner and reported back.
Similar Projects
Example Configuration
The following example shows how you can create a group of checks called 'basic', its made up of two checks (redis & rabbitmq). This group also passes an option to be used within the controller to cache the response within Varnish.
The idea of caching the result of a status check in Varnish can be very useful if multiple services and provides are all using the same status page. You don't want to spam services anymore than is required.
Cloudflare health checks for example against a server runs from each edge side location, as of witting this it would lead to over 80 HEAD requests for a single health check.
markup_status:
groups:
basic:
checks:
- redis.check
- rabbitmq.check
options:
shared_max_age: 20
Visual Status Pages
TBC