Exposing well hidden features
Those of you who attended my "Well Hidden Features of Liferay" presentation at the 2012 european symposium might remember the well hidden monitoring information that LIferay is able to hide at the bottom of each page, in HTML comments (when configured properly). (You can also listen to the recording of this presentation on Radio Liferay) The slide that I used in the presentation was probably the one with the most text I ever used on any slide (the background is a beautified version of what you find on a page, the foreground is a beautified version of one line):
I have created a very simple and straightforward plugin that will display the same information, well visible and organized at the bottom of the page - note that the configuration required remains the same. This is a sample output that you'll find at the bottom of each page with this plugin:
There's nothing fancy except the abbreviations (in italics): If you hover the mouse over them, you'll see what they're abbreviated from. If you can make use if this information - e.g. to find performance bottlenecks in your plugins and pages - this might be valuable information right at your fingertip. Feel free to use this as a starting point and explore more interactive and better solutions to display this data. Or deploy this to your test environment and parse the output to test for a specific portlet's performance.
Where is it?
You can find this plugin in its own branch on github: The only "actual" file that changes anything is bottom_monitoring.jsp - in the interest of keeping the implementation in a simple hook, everything is contained in that jsp.