Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-3361

[3.1.2 Backport] Add basic ping/healthcheck endpoint

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 3.1.2
    • None
    • SyncGateway
    • Security Level: Public
    • None

    Description

      Add API route that users can use for basic healthcheck processes (e.g. Load Balancer healthcheck)

      • Add a new /_ping route on all APIs: public, admin, and metrics
      • If healthy (HTTP server running) return HTTP 200 status and static body
      • Should not require authentication to check the health of an otherwise accessible port (no information leakage)
      • Should always be available to use (not behind a config flag)
      • Should be logged at debug level only (silent at info)

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ben.brooks Ben Brooks
              ben.brooks Ben Brooks
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty