Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-38782

Ability to retrieve more information on cluster nodes for Confluence Data Center

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      NOTE: This suggestion is for Confluence Server. Using Confluence Cloud? See the corresponding suggestion.

      It would be useful to be able to retrieve more information regarding cluster nodes on Confluence Data center. For instance, using Stash data center, it is possible to retrieve information about each node by executing:

      HTTP GET http://<stash>:PORT/status
      

      This returns one of two HTTP status codes:

      • 200 OK
      • 500 Internal Server Error

      If a cluster node does not return 200 OK within a reasonable amount of time, the load balancer should not direct any traffic to it.

      Opening this request to have the same thing on Confluence Data Center.

            [CONFSERVER-38782] Ability to retrieve more information on cluster nodes for Confluence Data Center

            Thanks, calling the status to the individual node works as well.

            Abhijit Das added a comment - Thanks, calling the status to the individual node works as well.

            Hi Abhijit,

            That status request is indicative of whatever node it ends up hitting on the backend. So if you access https://<confluence>/status from your browser, your load balancer will send that request to one node, and you will get the status of that node.

            However if you hit /status on a node directly, not through the load balancer, you will be able to get the status of each node individually.

            Just like Bitbucket Server, the response code indicates the health of the cluster node. So a 200 code means the node is running, and any other code means something is wrong with that node. We recommend that you configure your load balancer to use this endpoint in determining if node are up and ready to service requests.

            I hope this helps.
            David Rizzuto

            David Rizzuto added a comment - Hi Abhijit, That status request is indicative of whatever node it ends up hitting on the backend. So if you access https://<confluence>/status from your browser, your load balancer will send that request to one node, and you will get the status of that node. However if you hit /status on a node directly, not through the load balancer, you will be able to get the status of each node individually. Just like Bitbucket Server, the response code indicates the health of the cluster node. So a 200 code means the node is running, and any other code means something is wrong with that node. We recommend that you configure your load balancer to use this endpoint in determining if node are up and ready to service requests. I hope this helps. David Rizzuto

            My bad ... For some reason i was including a port.

            Now, what does

            {"state":"RUNNING"}

            ... mean. Is it the CLUSTER is running. If 1 node dies, what will it change to. Do you think we could add some node level minor metric to this status page.

            node1: Healthy|Warning|Fail ... // just a piece of thought

            Abhijit Das added a comment - My bad ... For some reason i was including a port. Now, what does {"state":"RUNNING"} ... mean. Is it the CLUSTER is running. If 1 node dies, what will it change to. Do you think we could add some node level minor metric to this status page. node1: Healthy|Warning|Fail ... // just a piece of thought

            David Rizzuto added a comment - - edited

            abhijitd, v5.8.15 indeed does have the status endpoint you requested. You should be able to access it at:

            https://<confluence>/status
            

            For example, you can see it on our own confluence instance running 5.8.15: https://confluence.atlassian.com/status

            David Rizzuto added a comment - - edited abhijitd , v5.8.15 indeed does have the status endpoint you requested. You should be able to access it at: https://<confluence>/status For example, you can see it on our own confluence instance running 5.8.15: https://confluence.atlassian.com/status

            We are running v5.8-15 now. I dont see any status URL available to poll. If the result is JSON that would be Ok ... in UI i could see stats.

            Abhijit Das added a comment - We are running v5.8-15 now. I dont see any status URL available to poll. If the result is JSON that would be Ok ... in UI i could see stats.

            In v5.8 of Confluence Data Center, it is now possible to retrieve more information on cluster nodes.

            Adam Barnes (Inactive) added a comment - In v5.8 of Confluence Data Center, it is now possible to retrieve more information on cluster nodes.

            Any updates on this?

            Abhijit Das added a comment - Any updates on this?

              Unassigned Unassigned
              cgauterio Clarissa Gauterio (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: