support yaml input_type
support read monitor config file.
code style format
Merge pull request #3 from wangxiangyu/Featcher/add_monitor_json

support yaml input_type