Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-245

add health check functionality

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.3
    • Component/s: None
    • Labels:
      None
    • Sprint:
      SDK 45: IPv6, HC, SDK 47: HC, Log Redact, SDK49: HC, Log Reda, CertAuth, SDK51: Tra-I, CertAuth, HC, SDK2: Log Red, Tracing I

      Description

      There are some situations where an end user does not control the entire network and they want a way to check the health of connectivity.  This is sometimes also used to keep connections alive in environments where they'll be shut down.  This is particularly needed with PHP where we cannot run threads or any IO outside PHP's context, but it's needed elsewhere too.

      Request here is to add a health_check() function that calls the underlying lcb function and delivers results to the application.  The intended usage would be for a developer, in some environments, to have their infrastructure monitoring to call this function on one or all app servers, which would then report back to the monitoring.  

      See CCBC-801 for further info.

        Attachments

          Issue Links

          For Gerrit Dashboard: GOCBC-245
          # Subject Branch Project Status CR V

            Activity

            Hide
            build-team Couchbase Build Team added a comment -

            Build sync_gateway-2.1.0-839 contains gocb commit 12cb6689159fbb59fd3c6520f0f580ec717b9adc with commit message:
            GOCBC-245: Added support for Ping and HealthCheck.
            https://github.com/couchbase/gocb/commit/12cb6689159fbb59fd3c6520f0f580ec717b9adc

            Show
            build-team Couchbase Build Team added a comment - Build sync_gateway-2.1.0-839 contains gocb commit 12cb6689159fbb59fd3c6520f0f580ec717b9adc with commit message: GOCBC-245 : Added support for Ping and HealthCheck. https://github.com/couchbase/gocb/commit/12cb6689159fbb59fd3c6520f0f580ec717b9adc
            Hide
            build-team Couchbase Build Team added a comment -

            Build sync_gateway-2.1.0-839 contains gocbcore commit 17856da1afd1be8c3dd8ea04cb31f7036dcb9234 with commit message:
            GOCBC-245: Added last activity time to diagnostics report.
            https://github.com/couchbase/gocbcore/commit/17856da1afd1be8c3dd8ea04cb31f7036dcb9234

            Show
            build-team Couchbase Build Team added a comment - Build sync_gateway-2.1.0-839 contains gocbcore commit 17856da1afd1be8c3dd8ea04cb31f7036dcb9234 with commit message: GOCBC-245 : Added last activity time to diagnostics report. https://github.com/couchbase/gocbcore/commit/17856da1afd1be8c3dd8ea04cb31f7036dcb9234
            Hide
            build-team Couchbase Build Team added a comment -

            Build sync_gateway-2.1.0-839 contains gocbcore commit 73312cd2b90ee61426d97f7a97361913ecb85455 with commit message:
            GOCBC-245: Added new health-check related APIs.
            https://github.com/couchbase/gocbcore/commit/73312cd2b90ee61426d97f7a97361913ecb85455

            Show
            build-team Couchbase Build Team added a comment - Build sync_gateway-2.1.0-839 contains gocbcore commit 73312cd2b90ee61426d97f7a97361913ecb85455 with commit message: GOCBC-245 : Added new health-check related APIs. https://github.com/couchbase/gocbcore/commit/73312cd2b90ee61426d97f7a97361913ecb85455
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-5.1.2-6014 contains gocb commit 12cb668 with commit message:
            GOCBC-245: Added support for Ping and HealthCheck.

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-5.1.2-6014 contains gocb commit 12cb668 with commit message: GOCBC-245 : Added support for Ping and HealthCheck.
            Hide
            build-team Couchbase Build Team added a comment -

            Build couchbase-server-5.1.1-5904 contains gocb commit 12cb668 with commit message:
            GOCBC-245: Added support for Ping and HealthCheck.

            Show
            build-team Couchbase Build Team added a comment - Build couchbase-server-5.1.1-5904 contains gocb commit 12cb668 with commit message: GOCBC-245 : Added support for Ping and HealthCheck.

              People

              • Assignee:
                brett19 Brett Lawson
                Reporter:
                ingenthr Matt Ingenthron
              • 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

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.