support get latest metrics api.