Nextdoor/kingpin

BaseActors should gather metrics and store/print them...

Closed this issue · 1 comments

I keep finding myself reading the timestamps trying to figure out how long each actor took to execute (or groups of actors). It seems like we could have a mode where we print stats out about every actors execution time.

This could ultimately fit into a metrics module that actually pushes build metrics up to places like Librato, etc.

Right now, this is just a tracking issue. I don't want to do this to 'every actor' because it would become massively verbose (think about an extra log line for every actor.. eek). Instead, there needs to be some way to display the stats that groups them reasonably and in a human readable way.

This is basically closed for now. It will be an ongoing project to gather and store more metrics, but for now we have a simple timer wrapper that at least starts the work.