added instance as optional parameter for messages

This should hopefully just work (tm).  I wanted to be able to associate metrics with an instance in ruby scripts.