added support to fetch all metrics