Metric name lambdas

Send a lambda instead of a string as the metric name to dynamically set the name of the metric. Useful when measuring sub classes