Feature added to query /metrics using type and key