Added changeable TTL to stats snapshotting.