see src/test/java/org/springside/modules/metrics/MetricExamples.java for Usage.