Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2506

Expose client WebSocket connection status

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Done
    • None
    • 3.5.0
    • javascript
    • None

    Description

      The WebSocket connection status is a critical piece of info when implementing readiness/liveliness probes in kubernetes deployment scenarios. Currently the connection status is kept internally in the `Connection` class and not accessible from outside.

      https://github.com/apache/tinkerpop/blob/332177a4b65563bc9ac2ad89e1a3ce78bf290195/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/driver/connection.js#L96

       

      Please let me know if this makes sense and I can send a PR.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            spmallette Stephen Mallette
            ebrahim Ebrahim
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment