Twitter's "commons" library also features a very good stat package. Presumably used by their own services. It's designed for the JVM, so should work with any JVM language.
See
http://twitter.github.com/commons/Have used it successfully implementing stats/metrics in Beaconpush, a real-time user presence server (http://beaconpush.com).