Used _add_metric wherever applicable in elasticsearch collector