JAMonAdmin Help
1) Instances
- 'local' is the server that you are viewing JAMon data from.
- 'local-saved' is a saved version of the 'local' JAMon data. This is configurable via jamonapi.properties file
and defaults to every 5 minutes.
- A list of any distributed servers you are monitoring.
2) Cache Results
Allows you to cache the JAMon results so they don't change while you are looking at them.
3) JAMon Action
- Refresh - Use current form settings to retrieve JAMon data
- Reset - Erases/Removes all JAMon data
- Enable - Enable JAMon. If already enabled this has no effect. It will not enable any individual monitors that have been
disabled.
- Disable - Disable JAMon. Monitors will be disabled, but not reset. If monitors are already disabled this has no effect.
- Enable Activity Tracking - This allows you to see how performance correlates to the number the number of things you are monitoring which is a measure of scalability.
- Disable Activity Tracking - Activity stats will be disabled.
4) MonProxy Action - Enabling/disabling various SQL/Interface monitoring
- No Action (currently=TTTT) - No Action indicates that the page request will not enable/disable what is being monitored. The four letters
can be any combination of T and F. Each letter indicates whether SQL/Exception/Interface/ResultSet monitoring is enabled.
- Enable All - Enable SQL/Exception/Interface/ResultSet monitoring
- Disable All - Disable SQL/Exception/Interface/ResultSet monitoring
- Disable/Enable SQL - If SQL monitoring is currently set to 'Enable' then this choice will be 'Disable' and vice versa. Lines in the JAMon report
with labels starting with 'MonProxy-SQL', and 'MonProxy-Match' are affected by this choice (SQL text will be part of the label)
- Disable/Enable Exceptions - If Exception monitoring is currently set to 'Enable' then this choice will be 'Disable' and vice versa.
Lines in the JAMon report with labels starting with 'MonProxy-Exception',are affected by this choice.
- Disable/Enable Interfaces - If Interface monitoring is currently set to 'Enable' then this choice will be 'Disable' and vice versa.
Lines in the JAMon report with labels starting with 'MonProxy-Interface',are affected by this choice. Any interface can be monitored.
- Disable/Enable ResultSet - If ResultSet monitoring is currently set to 'Enable' then this choice will be 'Disable' and vice versa. In addition
Interface monitoring must be turned on. ResultSet monitoring can generate lots of data so although this is simply a special case of Interface monitoring
it can be separately enabled/disabled. Lines in the JAMon report with labels starting with 'MonProxy-Interface',are affected by this choice.
5) Output
Determines the output format for the JAMon monitors. Options for output are HTML, XML, and an MS Excel spreadsheet.
HTML is the default.
6) Range/Units
Display JAMon monitors that share the same range name such as 'ms.' (typically this will be units). All columns
for differing unit types can not be displayed in a tabular report, due to the fact that different units will often have a different number
of columns (i.e. ranges) in the report. For example say we have 2 types of units we track in our application: 'ms.' and '$'.
In the case of 'ms.' our ranges will make sense for tracking performance in a web application: 0-10ms., 20-40ms., 40-80ms.,...,up to greater than 20,480 ms.
If we are tracking purchases in '$', then these ranges that we use for tracking 'ms.' would not be useful. However, the following ranges
could be: 0-10$, 10-20$,30-40$,...90-100$, 100-500$,>500$. 'Range/Units' works in conjunction with 'Display Cols' mentioned below.
- AllMonitors - This selection will show the basic monitoring statistics for all Monitors. The only 'Display Cols' choice that works with 'AllMonitors' is
'Basic Columns'. Any other choice selected for 'Display Cols' is automatically changed to 'Basic Columns'. This is because any other
choice will make the number of columns in the report mismatch, and so the report couldn't be displayed properly in an HTML table.
For the 'AllMonitors' report the Label, and units (i.e. the key) are combined in the reports first column.
'AllMonitors' with 'Basic Columns' is the default report when JAMonAdmin.jsp is executed without making a specific choice.
- Range Names - This selection will allow you to choose any available Range names such as: 'ms.', 'MB', '$'.
When a 'Range Name' is selected all 3 choices available for the 'Display Cols' field are valid.
7) Display Cols
Determines which columns should be displayed in the report. This field determines which COLUMNS are displayed and 'Ranges/Units'
and 'Filter' determine what ROWS are displayed. Options follow:
- Basic Cols Only - Displays basic monitoring statistics (i.e. excludes ranges). This allows you to look at all monitoring
types on one screen. The 'Label' column will contain both the 'Label' and 'Units' as well as any other key columns. This is
the only selection that lets you view all monitors in one report (see 'Range/Units' - 'AllMonitors'. 'Basic Columns Only' are the default when JAMonAdmin.jsp is executed
without making a specific choice.
- Basic/Range Cols - Displays basic monitoring statistics plus ranges. Ranges are of the format: Hits/Avg (AvgActive/AvgPrimaryActive/AvgGlobalActive)
- All Cols - Displays basic monitoring statistics plus all fields of the ranges. This is a bit of an ugly dump, but can be
handy when you want to view more details.
8) Cell Formatting
Indicates how numeric data should be displayed. Depending on what you are measuring you may want to have decimals appear or
not. Cell Formatting allows you to toggle between precision when viewing the monitors. The underlying data is not affected - just the view.
Note the com.fdsapi.arrays.ArrayConverter class was used to format the data. You can also pass any String that is accepted to
DecimalFormat.applyPattern(...)
- #,### - 1.2345 would show as 1
- #,###.# - 1.2345 would show as 1.2
- #,###.## - 1.2345 would show as 1.23
- #,###.### - 1.2345 would show as 1.234
- #,###.#### - 1.2345 would show as 1.2345
- No Format - Shows all digits
9) Filter (optional)
Filter leverages the com.fdsapi.ArraySQL class to query the JAMon data with a SQL like syntax.
- If you specify any string within the filter (something like: com), the string will be used in a Regular Expression to
find any monitors with the given pattern in their label. This allows you to search for monitors of interest. Note: A regular expression is used,
not the more typical SQL 'like' clause (i.e. '%com%'). Also the regular expressions are case insensitive.
- You can also enter a full ArraySQL syntax and do more complex queries on any of the JAMon columns.
Note Strings should be surrounded by single quotes not double quotes. You can use the reports column names as part of
your query. Examples follow:
- select * from array where label like 'pageHit' or label like 'mypackage'
- select * from array where hits>500
- select * from array where label like 'pageHit' or (label like 'mypackage' and hits>500 and total>100000)
- select * from array where label in ('bytessent', 'bytesreceived')
- Or you can just put in the where clause: where hits>500
10) Highlight (optional)
Any text that is entered here and appears in the label column will be hightlighted
11) Text Display Length (optional)
In some cases labels (SQL statements) can become quite large and make the report difficult to read. By entering an integer in this field
the display of the label column will be truncated to the specified length. Note this only affects the display and the actual data in the report is not altered.
12) Links
Links to various classes from FormattedDataSet API that were used in creating this page.
- FormattedDataSet - Used to generate
dynamic text
- ArrayConverter - Used to format JAMon
statistics for display.
- ArraySQL - Used to query Object arrays
(Object[][]) that can contain any datatype.
Close