librato/librato-metrics — pull request #39 by nextmat (2012-10-01 23:02:28+00:00)
Title: Add settable prefix option to queues objects.

Add prefix option to Queues which will auto-prepend any metric names which are added.

q = Queue.new(:prefix => 'foo')
q.add :bar => 1 # {:name => 'foo.bar', :value => 1'}