2017 © Pedro Peláez
 

symfony-bundle status-bundle

image

markup/status-bundle

  • Thursday, October 19, 2017
  • by gsdev
  • Repository
  • 2 Watchers
  • 0 Stars
  • 10,915 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 6 Versions
  • 14 % Grown

The README.md

Markup Status Bundle

CircleCI, (*1)

https://packagist.org/packages/markup/status-bundle, (*2)

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., (*3)

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., (*4)

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., (*5)

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., (*6)

markup_status:
    groups:
        basic:
            checks:
                - redis.check
                - rabbitmq.check
            options:
                shared_max_age: 20

Visual Status Pages

TBC, (*7)

The Versions