JazzMon – Seeing what your server is up to
Dave Schlegel, Rational Performance Engineering Team
Last updated: May 10, 2012
Build basis: Rational Team Concert 184.108.40.206
As a Jazz administrator, have you ever wondered what your server is doing today that is different than last week or last month? Why it is that yesterday things were fine and today something seems a little sluggish first thing in the morning? Wouldn’t it be really handy to see what exactly your growing user base is doing day by day and how that is changing over time as you add more users and projects?
Maybe you’ve already learned that the Jazz server has a web service report that provides a lot of performance and traffic data which seems like it should be really useful. But then you got lost trying to make sense of a one time snapshot of a seemingly infinite list of obscure operations, unsure which ones might matter to you if any?
JazzMon is a new tool that will help you make more sense out of all those numbers by taking a series of snapshots and turning them into spreadsheets so you can sort, filter, recombine, and graph the data to actually see what sort of traffic is hitting your server day by day and week by week. It provides a command line utility that automatically takes web service counter snapshots from one or more Jazz application servers over time then analyzes the data to produce time-trend tables that provide new insight into server traffic and usage patterns.
To see what JazzMon might do for you, let’s take a look at what web services are and then we’ll see what JazzMon can do with them.
What is a Web Service?
A web service is a low level individual message sent from a Jazz client or web browser to the Jazz server to do something or get data. Multiple web services are often needed to carry out an individual user operation such as logging in, checking in a change set, updating a work item, or downloading files to refresh your workspace.
The best way to understand what web services do and how they are used is to enable the Metronome feature on the RTC Eclipse client which tracks and reports on what web services have been executed by your individual RTC or CLM client. The Metronome report will show you the web service traffic generated by whatever client operation you do such as checking in a few files. For more information take a look at the blog post The Jazz metronome tool keeps us honest.
Finding out what Web Services the Server is performing
The Jazz server maintains web service reports that show the overall traffic to a server from all the different clients and provides a wealth of information about historical traffic and performance. The basic report is available to any valid user by visiting the following URL on the target server:
The webservice report provides a number of different data tables representing server performance since startup. Many will only make sense to internal developers in the context of detailed system knowledge but there are several that are potentially quite useful:
- Webservice counters – external webservice requests made to the server since its started
- Asynchronous tasks – background processing tasks providing maintenance, integration, and followup operations
- Floating license usage, showing which licenses are actively in use
The web service counter report is the most useful for understanding server traffic. The web service counter names are related to the abbreviated Metronome names shown above, i.e. the fetchOrRefreshItems web service has a full name of “com.ibm.team.repository.common.internal.IRepositoryRemoteService.fetchOrRefreshItems”. Using Metronome you can relate which user operations call which web services. For the web browser client, using a product like FireBug will let you see the direct traffic as well.
Using Metronome to make sense of the server reports has some limits. The server is accumulating data from many clients and the webservices may be used in different ways for different user operations. Also keep in mind that the web service reports only show how much time the server required to perform the operation. Metronome data also includes the round-trip time between the client and server. If the server time is relatively small, the difference between the two may represent excessive network latency, which may be causing perceived performance problems.
Using JazzMon to visualize and make sense of Web Service counter reports
JazzMon records a series of web service reports then slices out specific variables to generate time-trend tables so you can see how the data is changing over time. Even then with 500+ webservices it can be overwhelming, so JazzMon aggregates the data at different scales to help to get the big picture across multiple applications or servers.
- Overall totals for all servers or applications being monitored
- Component level totals based on the web service name (i.e. Build, SCM, Repository, Workitems, etc.)
- Individual web services covering elapsed time averages, counts, and total time bytes sent and bytes received.
Each time-trend file displays one variable from the web service counter reports as a series of columns as the value changes over time in a tab-delimited file that can easily be imported Microsoft Excel or Lotus Symphony to create spreadsheets for easier analysis and visualization.
With a little spreadsheet manipulation the data can be sorted and filtered to isolate the information that is the most interesting and turned into charts showing the most frequently called operations, those passing the most data, or those consuming the most server time.
JazzMon produces data tables to show total traffic over multiple servers or applications allowing you to see the traffic patterns over days and weeks…
Or the data can be aggregated by system component to see 500+ webservices consolidated to 10-20 major subsystems so you can see the site profile showing the balance of demand for builds, workitems, dashboards, and SCM operations.
Or you can drill in by individual webservice to focus on the top 20 or 50 most frequently used services. In this case we can now see that a single webservice (IVersionedContentService.GET (download a file)) is the most frequently called operation in a SCM heavy environment like Jazzdev.
JazzMon slices out not only counts and average times but also total times which can paint a very different picture than call counts by themselves.
For more information
About the author
Dave Schlegel is the Technical Lead for the Rational Performance Engineering team for Jazz products. He can be contacted at email@example.com.
Copyright © 2012 IBM Corporation