pandemicsyn/swift-informant — pull request #1 by notmyname (2011-12-16 16:32:04+00:00)
Title: changed rate calculation

Instead of relying on random() to fire the events, informant
now is guaranteed to send one event per X requests, where X is
the statsd_sample_rate set in the config. The side effect is that
informant will only be able to track up to sys.maxint requests per
second (this should be sufficient for most use cases).