Model validations for Metric Configuration.

Created association with Metric.