Send a lambda instead of a string as the metric name to dynamically set the name of the metric. Useful when measuring sub classes
I think this is fine.
In the past, I've simply iterated over the subclasses I want to instrument and added the instrumentation directly.
Can you rebase your changes against the latest master and make sure the tests pass? Then I'll merge.
Support Lambdas as metric names
Update read me with block about lambdas as metric names
I have rebased against the master now
Not sure what happened to this PR, but this functionality has been included in the gem for a while. Thanks for the suggestion!