mozilla-services/heka — pull request #217 by trink (2013-05-29 20:58:34+00:00)
Title: Issue #214 Less agressive sandbox termination

- Sample at least a full channel's worth of messages before being able to
terminate a sandbox. This slows down detection but greatly reduces false
positives. This applies to the matcher and filter channels.

- Prevent a backpressured condition from causing severe oversampling of message
processing times.

- Remove the sampling after a timer event, it can be used to game the system by
returning quickly from the next process_message call.

- Rename MatcherAvgDuration to MatchAvgDuration to be consistent with the other
report attribute names.

- Add additional data to the blocked termination message so the exact cause is
clear.