mondetail.jsp displays any JAMonListeners that implement the com.jamonapi.utils.DetailData interface. It is up to the developer to decide what data to present. The JAMonBufferListener that ships with JAMon displays the following information that belongs to the associated monitor:
Determines the output format for the JAMon monitors. Options for output are HTML, XML, and an MS Excel spreadsheet. HTML is the default.
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
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
Any text that is entered here and appears in the label column will be hightlighted
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.
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.