update get metrics from elasticsearch