librato/librato-metrics — pull request #33 by nextmat (2012-07-24 23:24:20+00:00)
Title: Fix aggregator support for individually specified sources.

Previously Aggregator objects silently ignored per-measurement sources, this fixes. So now this:

a = Aggregator.new(:source => 'foo')
a.add :bar => 1
a.add :bar => 2
a.add :bar => 3, :source => 'baz'

...will return distributions for both 'foo' and 'baz' sources.