Hello Lee, instead of rolling your own metrics library I would suggest using one of the existing tools, such as:
cloud: * *newrelic* https://docs.newrelic.com/docs/java/new-relic-for-java open source (self-hosted): * *kamon* http://kamon.io * codahale metrics metrics.codahale.com/getting-started/ + hosted graphite instance // kind of roll your own, you could use timers I personally really like kamon (and they provide a VM with graphite+grafana preinstalled, so you can give it a spin easily). Newrelic is also pretty cool and they do provide initial akka support too, it's cool if you want to monitor your servers and other apps in the same place. If your question is not about "prod monitoring" but general one shot measurements, you can always get System.nanoTime or use Codahale Metrics + the console printer. Depends on how fancy you want to get. -- Cheers, Konrad 'ktoso' Malawski hAkker - Typesafe, Inc <http://scaladays.org> -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to akka-user+unsubscr...@googlegroups.com. To post to this group, send email to akka-user@googlegroups.com. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.