Possibility to configure period of collecting stats added.