auto scale: implement auto scale events.

related to #154.