rewrite stats triggers for queues