graphite-project/carbon — pull request #108 by astanway (2013-05-28 21:26:49+00:00)
Title: Sample logs on dropped datapoints

If the MAX_QUEUE_SIZE is reached, carbon will aggressively log every dropped datapoint. This can fill up a disk rather quickly if you have a high throughput. This pull adds a setting, LOG_SAMPLE_RATE, and it samples the "dropped datapoint" logs at a rate of 1/LOG_SAMPLE_RATE.