The only way to understand the code you've written and its impact on business value is to measure the usage and performance of that code. Please take a few minutes and read Coda Hale’s slides from "Metrics, Metrics Everywhere".
Application metrics come in these basic flavors:
- Histograms
- some value sampled, counted, and stats