This filter will profile incoming requests to measure :
Total of requests served
Number of requests currently being served
Average execution time of the last ten requests
Number of requests received in the last ten seconds

This adds some overhead to each page request, so it may be worth not adding this filter to the chain by default.

Wraps the SMTPMailServerImpl to provide metrics for
The number of emails sent in total
The number of emails succesfully delivered
The time the last successful email was sent
Connectivity without sending a test email
Also allows the from name of emails to be set.