fix collect_fields warn
Use collection by day, take connection options as hash
update doc