Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

What is the /status for bitbucket datacenter checking?

Wouter Roux June 8, 2021

Hi,

 

We are wondering what the healthcheck for the bitbucket data center app instance /status is checking when its reporting 

{"state":"RUNNING"}

Is it only checking if the process is up? We want to make sure this is the appropriate healthcheck as we have noticed inaccurate results.

 

Thanks

2 answers

1 accepted

1 vote
Answer accepted
Wolfgang Kritzinger
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 8, 2021

Hi! 

The "state" field can have a few different values, depending on whether the application is still starting up, is in "setup" mode or is available.

A state of "running" does not guarantee that the application is "healthy", it just means that it is able to serve requests. It's possible for a plugin to be broken and requests for that plugin to be failing, but other requests are fine. 

For effective monitoring you should also keep an eye on the exception rate in the logs, as well as how many HTTP error responses it returns.

Cheers,
Wolfgang

Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 9, 2021

Just to add to Wolfgang's response, here's a list of possible status values:

https://confluence.atlassian.com/bitbucketserverkb/how-to-monitor-if-bitbucket-server-is-up-and-running-975014635.html

Cheers,

Christian

Premier Support Engineer

Atlassian

Wouter Roux June 11, 2021

Thank you

0 votes
Wouter Roux June 11, 2021

Thank you. Can someone please remove this. It was meant for the thread with the answer above.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.6.0
TAGS
AUG Leaders

Atlassian Community Events