Measurement points
What is being measured?
There are timers, invocation sequences and exception sensors activated.
Timer - sensors
In the configuration file, the following timer-sensors are defined:
Section | Sensor-Definitions |
---|---|
Login | sensor timer com.jboss.dvd.seam.AuthenticatorAction authenticate() |
Shipping | sensor timer com.jboss.dvd.seam.Order * |
Search | sensor timer com.jboss.dvd.seam.FullTextSearchAction doSearch() |
Invocation Sequence - sensors
The following invocation sequence sensors are defined. Remember that only methods can be
seen which are defined as a timer sensor or an exception sensor.
Section | Sensor Definitions |
---|---|
Login | sensor isequence com.jboss.dvd.seam.AuthenticatorAction authenticate() |
Shipping | sensor isequence com.jboss.dvd.seam.ShipAction ship() |
Seach | sensor isequence com.jboss.dvd.seam.FullTextSearchAction doSearch() |
Exception - sensors
There is a exception sensor defined which registers if a ChildProtectionException is being thrown.
A ChildProtectionException is being thrown if a movie is imperiling for children and contains
one of the following keywords: "war", "battlefield", "crime", "weapon" and "sex".
Section | Sensor-Definitions |
---|---|
Search | exception-sensor com.jboss.dvd.seam.ChildProtectionException |
The complete agent-configuration file is included in the zip-file.
Application performance settings
On the application performance settings page you can activate / deactivate performance problems.
Three problem types were integrated. Two of them affect the execution performance of the application.
Problem type | Description | Affected class / method |
---|---|---|
slow queries | One of most common performance problems are slow | com.jboss.dvd.seam.FullTextSearchAction |
slow processing | Sometimes there are some slow implementations in the | com.jboss.dvd.seam.PerformanceSettingsBean |
execption | Sometimes you want to know if an exception was thrown. | com.jboss.dvd.seam.FullTextSearchAction |
On the following image you can see how easy it is to activate the performance problems.
Important inspectIT measurement information
If you are searching for some products with the slow querying method this could be a problem in the inspectIT client because
there will be at least four calls to the database for each product and this means that inspectIT has to display about more than
40.000 elements on the detail level of the method call. This will extremely slow down the client and you have to wait a few
minutes to see the structure.
Maybe there is to do a bug-fix in the inspectIT software that there are only display up to 100 or 1000 Element at one time.