influxdb/kit/check
Brett Buddin b4703566a8
feat(kit/check): Adds manual override capabilities to readiness endpoint.
With `/health`, it is possible to override the overall status reported.
This change adds the same functionality to `/ready`. This allows
incident responders to take an unhealthy pod out of a service without
killing it—giving them time to gather meaningful forensic data from the
pod. The new contract is:

Force not ready:

    GET /ready?force=true&ready=false

Force ready:

    GET /ready?force=true&ready=true

Disable override:

    GET /ready?force=false
2019-12-30 09:42:31 -05:00
..
check.go feat(kit/check): Adds manual override capabilities to readiness endpoint. 2019-12-30 09:42:31 -05:00
check_test.go feat(kit/check): Adds manual override capabilities to readiness endpoint. 2019-12-30 09:42:31 -05:00
helpers.go
response.go