Validate if viewName and attribute name are valid
Validate if metric is valid