adding events support in autoscaler