parse MetricSource more thoroughly