make get flume metrics method public
rename parse_json method name
add new feature to detect defunct flume process. it will check the event success count if the count has increased