metric API can now use either name or ID
checks if Metric is related to thing