Jira and Confluence Performance Monitoring Part One


I have been recently working on improving our performance monitoring against Jira and Confluence. And here I want to share a few things that I learned, and hope they are useful to you as well.

In high level, we have done:

  1. Setup both black box monitoring (CPU, memory, IO, Error log …) and white box monitoring (Availability, Response time…).
  2. Keep track of the history data, so we can measure and make prediction.
  3. Automate monitoring and troubleshooting process as possible as we can.

In details, we have implemented:

  1. Use Splunk to do black box monitoring via MNON.
  2. Use Spunk to collect all sorts of log (reverse proxy, jira/confluence, database) to do white box monitoring via dashboard or alerts.
  3. Send Splunk alerts to Slack if the pre-defined conditions has been triggered.
  4. Let the Bot do some initial troubleshooting when the alerts are received.

Here are some examples:

Jira performance dashboard which shows the average response time, top 10 slow requests, hourly users and request numbers, http error codes etc.

jira_performance.png

When Jira/ Confluence long response is detected, our Bot checks the status of Jira/ Confluence straight way. So we can tell whether it is a long lasting or one off issue by looking at the key metrics.

jira_long_response_mask.png

conf_long_response.png

What does those key metric mean? Here you go.

help.png

When Confluence stuck thread (or slow request) is detected, our Bot checks what that thread is about. In the following example, it shows the Contributor macro takes a long time to complete. That is how we found out this known performance issue which exists in Confluence version prior 6.12.

conf_stuck_thread.png

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s